Article View: alt.comp.lang.learn.c-c++
Article #803Re: VC++ 5.0 compiling error
From: Jim Gewin
Date: Thu, 04 Jun 1998 00:00
Date: Thu, 04 Jun 1998 00:00
37 lines
1847 bytes
1847 bytes
On that exact source? The only explanation I can
come up with is that someone has hacked into stdio
and changed printf into a macro that calls something
called clrscr. But the obvious mnemonic would imply
a function to clear the screen, and what's the point
of printing something only to erase it?
You might try re-installing stdio from the original
compiler distribution media.
FuRy wrote:
>
> Hi, I have some problems with Visual C++ 5.0 Pro. It can't even compile any
> program. I try to compile this program :
>
> #include <stdio.h>
>
> int main()
> {
> printf("Hello, world\n");
> return 0;
> }
>
> Here is what it says :
>
> --------------------Configuration: Text1 - Win32 Debug--------------------
> Compiling...
> Text1.cpp
> C:\Mes Documents\prog\Text1.cpp(6) : error C2065: 'clrscr' : undeclared
> identifier
> Error executing cl.exe.
>
> Text1.exe - 1 error(s), 0 warning(s)
>
> Please help me !! <Fury95@cyberdude.com>
> Thanks a LOT
Technical Details
Message-ID:
<6l7ddl$qs7@bgtnsc03.worldnet.att.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<896989310.167787@si2-paris>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fdcad,507849f71530e97a X-Google-Attributes: gidfdcad,public X-Google-Thread: f707b,507849f71530e97a X-Google-Attributes: gidf707b,public X-Google-Thread: 114592,507849f71530e97a X-Google-Attributes: gid114592,public X-Google-Thread: 109fba,507849f71530e97a X-Google-Attributes: gid109fba,public From: Jim Gewin <jgewin@worldnet.att.net> Subject: Re: VC++ 5.0 compiling error Date: 1998/06/04 Message-ID: <6l7ddl$qs7@bgtnsc03.worldnet.att.net> X-Deja-AN: 359651016 Content-Transfer-Encoding: 7bit References: <896989310.167787@si2-paris> Content-Type: text/plain; charset=us-ascii Organization: AT&T WorldNet Services Mime-Version: 1.0 Reply-To: jgewin@worldnet.att.net Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++,fr.comp.lang.c++,microsoft.public.vc.ide_general