🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: alt.comp.lang.learn.c-c++
Article #805

Re: VC++ 5.0 compiling error

#805
From: Phlip
Date: Fri, 05 Jun 1998 00:00
33 lines
1885 bytes
FuRy wrote:

>#include <stdio.h>
>
>int main()
>{
> printf("Hello, world\n");
> return 0;
>}

>C:\Mes Documents\prog\Text1.cpp(6) : error C2065: 'clrscr' : undeclared

VC++ does not _have_ a 'clrscr' (and see my Web page for an example how to
write one when you need it), so I would hunt this down with one of the Find
in Files facilities and see where it came from.

But, following the idea you are compiling the wrong program, use File ->
Close WorkSpace, and keep the current windows open. Then make sure your
"Hello, world" program is the active document window, and tap <Ctrl+F7>. The
system will ask if you want a default project, and it creates one with all
the correct settings for a Win32 Console app compiling into the file's
current directory.

Nettiquette tip: Don't X-post to unrelated groups just to ensure a high
reply rate. Follows-up set.

To ensure a high reply rate, just flame Unix.

  --  Phlip
======= http://users.deltanet.com/~tegan/home.html =======
Watch At Home on the Range! at:
    www.athomeontherange.com
Technical Details
Message-ID: <6l8odc$5nj$1@news01.deltanet.com>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <896989310.167787@si2-paris>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 109fba,507849f71530e97a
X-Google-Attributes: gid109fba,public
X-Google-Thread: fdcad,507849f71530e97a
X-Google-Attributes: gidfdcad,public
X-Google-Thread: 114592,507849f71530e97a
X-Google-Attributes: gid114592,public
X-Google-Thread: f707b,507849f71530e97a
X-Google-Attributes: gidf707b,public
From: "Phlip" <tegan@deltanet.com>
Subject: Re: VC++ 5.0 compiling error
Date: 1998/06/05
Message-ID: <6l8odc$5nj$1@news01.deltanet.com>
X-Deja-AN: 359807059
References: <896989310.167787@si2-paris>
Followup-To: microsoft.public.vc.ide_general
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4
Organization: Delta Internet Services, Inc.
Newsgroups: alt.comp.lang.learn.c-c++,comp.lang.c++,fr.comp.lang.c++,microsoft.public.vc.ide_general