🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #11666

Re: [C++/Java] startervraagje classes

#11666
From: Vincent De Baere
Date: Wed, 16 Jan 2002 00:17
30 lines
1945 bytes
On Tue, 15 Jan 2002 21:50:26 +0100, bomberboy wrote:

> On Tue, 15 Jan 2002 21:38:19 +0100, Vincent De Baere wrote:
> 

>> Alle helpende handjes zijn welkom... ook een pointer (hehehe) richting
>> een goede webpagina...
> 
> Hier heb ik er misschien wel eentje, het is een site die uitleg geeft
> over C++ als je al Java kent, heb er zelf al wat op zitten lezen en
> lijkt best handig.
> 
> <url: http://www-instruct.nmu.edu/math_cs/tseethof/cprimer/>

Die site is goed...! die staat tussen mijn bookmarks vanaf nu!

Enig probleem: hun voorbeeld bij classes compileert bij mij niet... 

# g++ MyClass.C
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o: In function
`_start':
/usr/lib/gcc-lib/i386-redhat-linux/2.96/../../../crt1.o(.text+0x18):
undefined reference to `main'
collect2: ld returned 1 exit status

Kan iemand mij uitleggen wat hier aan de hand is?

TIA

Vincent
Technical Details
Message-ID: <pan.2002.01.16.01.17.18.664249.1031@narrowmargin.net>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!skynet.be!skynet.be!louie!not-for-mail
References: <pan.2002.01.15.21.38.19.173952.1189@narrowmargin.net> <pan.2002.01.15.21.50.27.506732.41269@spelletjesgarnaal.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: fcea4,21c08170d4577f92
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2002-01-15 16:11:04 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!skynet.be!skynet.be!louie!not-for-mail
From: Vincent De Baere <usenet@narrowmargin.net>
Subject: Re: [C++/Java] startervraagje classes
Date: Wed, 16 Jan 2002 01:17:18 +0100
Newsgroups: be.comp.programming
Organization: narrowmargin.net
Message-ID: <pan.2002.01.16.01.17.18.664249.1031@narrowmargin.net>
References: <pan.2002.01.15.21.38.19.173952.1189@narrowmargin.net> <pan.2002.01.15.21.50.27.506732.41269@spelletjesgarnaal.be>
User-Agent: Pan/0.11.1 (Unix)
Mime-Version: 1.0
Content-Type: text/plain; charset=iso-8859-1
Content-Transfer-Encoding: 8bit
X-Comment-To: "bomberboy" <bomberboy@spelletjesgarnaal.be>
Lines: 30
NNTP-Posting-Host: 217.136.82.105
X-Trace: 1011139816 reader0.news.skynet.be 75160 217.136.82.105
X-Complaints-To: abuse@skynet.be