🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #13308

Re: c++ een stomme taal?

#13308
From: An Ony
Date: Fri, 03 Aug 2001 09:37
24 lines
1854 bytes
void main() {
 for (int i=0; i<2; i++) cout<<"nummer a"<<i;
 for (int i=0; i<2; i++) cout<<"nummer b"<<i;
 for (int i=0; i<2; i++) { cout<<"nummer c"<<i; }
 for (int i=0; i<2; i++) { cout<<"nummer d"<<i; }
}

Compiling...
Lesson01b.cpp
Lesson01b.cpp(159) : error C2374: 'i' : redefinition; multiple
initialization
Lesson01b.cpp(158) : see declaration of 'i'
Lesson01b.cpp(160) : error C2374: 'i' : redefinition; multiple
initialization
Lesson01b.cpp(158) : see declaration of 'i'
Lesson01b.cpp(161) : error C2374: 'i' : redefinition; multiple
initialization
Lesson01b.cpp(158) : see declaration of 'i'
Error executing cl.exe.

Lesson01b.exe - 3 error(s), 0 warning(s)
===============================
ligt dit nu aan Visual C++ (versie 6 dan nog!) of aan C++? in java zou het
werken
Technical Details
Message-ID: <3b6a7113$0$4389$ba620e4c@news.skynet.be>
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!skynet.be!louie!not-for-mail
References: <3b686d57$0$4386$ba620e4c@news.skynet.be> <Xns90F18AAF1752pastoorwalter@195.130.132.65> <3b6903b7$0$4564$ba620e4c@news.skynet.be> <Xns90F1CEED4C9A8pastoorwalter@195.130.132.65> <3b699cb6.742251030@news.easynet.be> <Xns90F1D5DB05304pastoorwalter@195.130.132.65>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: fcea4,411bf7b1af76013e
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2001-08-03 02:38:30 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!isdnet!skynet.be!louie!not-for-mail
From: "An Ony" <Dontreallyknow@thatthing.com>
Newsgroups: be.comp.programming
References: <3b686d57$0$4386$ba620e4c@news.skynet.be> <Xns90F18AAF1752pastoorwalter@195.130.132.65> <3b6903b7$0$4564$ba620e4c@news.skynet.be> <Xns90F1CEED4C9A8pastoorwalter@195.130.132.65> <3b699cb6.742251030@news.easynet.be> <Xns90F1D5DB05304pastoorwalter@195.130.132.65>
Subject: Re: c++ een stomme taal?
Date: Fri, 3 Aug 2001 11:37:49 +0200
X-Newsreader: Microsoft Outlook Express 4.72.3110.5
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Lines: 26
Message-ID: <3b6a7113$0$4389$ba620e4c@news.skynet.be>
Organization: -= Skynet Usenet Service =-
NNTP-Posting-Host: 62.4.146.251
X-Trace: 996831507 reader0.news.skynet.be 4389 62.4.146.251
X-Complaints-To: abuse@skynet.be