🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.linux.development.apps
Article #106

Compiling???

#106
From: Ivan Van den Bossche
Date: Thu, 01 Apr 1999 00:00
38 lines
1696 bytes
Hello everybody !!!

I have written a simple program which displays 'hello, world' on the screen:

The source file calles 'test.cpp'

#include <iostream.h>

int main()

{

    cout << "Hello, world !";

    return 0;

}

I have some questions: How can I compile the test.cpp file, so I get an
executable file ???

I'm using Redhat Linux 5.0.

I've already used gcc and g++ but I don't know what library I have to link
with it.

I'm also interested in programming modules and X Window - applications.

How can I compile a source file as a X Window-applications or as a module
written with C/C++ ???

Where can I find source-code on the web for these areas???

my email:

ivdbossche@yahoo.com

Thanks !!!
Technical Details
Message-ID: <7e05k5$7rq$1@news.planetinternet.be>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f5392,95af74d28b45ec59,start
X-Google-Attributes: gidf5392,public
X-Google-Thread: 10c696,95af74d28b45ec59,start
X-Google-Attributes: gid10c696,public
X-Google-Thread: f60be,95af74d28b45ec59,start
X-Google-Attributes: gidf60be,public
X-Google-Thread: 10c329,95af74d28b45ec59,start
X-Google-Attributes: gid10c329,public
From: "Ivan Van den Bossche" <ivan.vandenbossche@planetinternet.be>
Subject: Compiling???
Date: 1999/04/01
Message-ID: <7e05k5$7rq$1@news.planetinternet.be>
X-Deja-AN: 461616648
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
X-Complaints-To: postmaster@planetinternet.be
X-Trace: news.planetinternet.be 922982853 8058 195.95.24.62 (1 Apr 1999 16:07:33 GMT)
Organization: Planet Internet NV
NNTP-Posting-Date: 1 Apr 1999 16:07:33 GMT
Newsgroups: comp.os.linux.development.apps,comp.os.linux.development.system,fido.belg.linux,it.comp.linux.development