Article View: be.comp.programming
Article #13222c++
From: Michael De Nil
Date: Mon, 13 Aug 2001 15:24
Date: Mon, 13 Aug 2001 15:24
27 lines
1529 bytes
1529 bytes
hey, kan iemand me helpen met onderstaand probleempje (ben nogmaar newbie in
c++ dus niet te moeilijk, :)
dit is de source:
#include <iostream.h>
int main()
{
int x = 5;
int y = 7;
cout " \n";
cout << x + y << " " << x * y;
cout " \n";
return 0;
}
en dit is de fout bij het compilen:
flecxie@LiSa:~/c++/oef/day1/x+y$ g++ xy.cpp
xy.cpp: In function `int main()':
xy.cpp:7: parse error before string constant
xy.cpp:9: parse error before string constant
tnx
michael
Technical Details
Message-ID:
<0jSd7.51212$ye.2254418@afrodite.telenet-ops.be>Path:
arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit X-Google-Thread: fcea4,9f65fc058ac2d8da,start X-Google-Attributes: gidfcea4,public X-Google-ArrivalTime: 2001-08-13 08:24:53 PST Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!news.tele.dk!small.news.tele.dk!193.190.198.17!newsfeeds.belnet.be!news.belnet.be!ossa.telenet-ops.be!afrodite.telenet-ops.be.POSTED!not-for-mail From: "Michael De Nil" <michael@aerythmic.be> Newsgroups: be.comp.programming Subject: c++ Lines: 29 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.50.4522.1200 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4522.1200 Message-ID: <0jSd7.51212$ye.2254418@afrodite.telenet-ops.be> Date: Mon, 13 Aug 2001 15:24:44 GMT NNTP-Posting-Host: 213.224.175.206 X-Complaints-To: abuse@pandora.be X-Trace: afrodite.telenet-ops.be 997716284 213.224.175.206 (Mon, 13 Aug 2001 17:24:44 MET DST) NNTP-Posting-Date: Mon, 13 Aug 2001 17:24:44 MET DST Organization: Telenet Internet