delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | "arizvi" <ahmadwaris AT hotmail DOT com> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: Problem in for loop (TC++ IDE) |
Date: | 26 May 2005 09:19:02 -0700 |
Organization: | http://groups.google.com |
Lines: | 17 |
Message-ID: | <1117124342.690285.70250@g43g2000cwa.googlegroups.com> |
References: | <1117088627 DOT 434718 DOT 210400 AT g14g2000cwa DOT googlegroups DOT com> |
<4kfle.8039$M36 DOT 2408 AT newsread1 DOT news DOT atl DOT earthlink DOT net> | |
NNTP-Posting-Host: | 66.245.99.113 |
Mime-Version: | 1.0 |
X-Trace: | posting.google.com 1117124348 8829 127.0.0.1 (26 May 2005 16:19:08 GMT) |
X-Complaints-To: | groups-abuse AT google DOT com |
NNTP-Posting-Date: | Thu, 26 May 2005 16:19:08 +0000 (UTC) |
User-Agent: | G2/0.2 |
Complaints-To: | groups-abuse AT google DOT com |
Injection-Info: | g43g2000cwa.googlegroups.com; posting-host=66.245.99.113; |
posting-account=Se-Idg0AAAC00LEpjdiQS7ZeyWGDYpCA | |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Hi, > You are missing both a needed header and a namespace specifier (or > using statement). As it is, 'cout' is an undeclared variable in both > C++ (and in C, where it must be an integral variable for the left shifts > to be legal). If the program indeed has cout as an undeclared variable, it would not even compile. I find it interesting that it is compiling, linking and giving an output. > > it gives me 21 as an output instade of blank output. Please > > let me know the reason behind it, as early as possible. > I have no ideas at this point. Anyone?
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |