From: gtnorton AT my-deja DOT com Newsgroups: comp.os.msdos.djgpp Subject: Re: Problems compiling and running a program. Date: Wed, 20 Oct 1999 06:26:10 GMT Organization: Deja.com - Before you buy. Lines: 31 Message-ID: <7ujn9r$jrn$1@nnrp1.deja.com> References: NNTP-Posting-Host: 152.175.219.230 X-Article-Creation-Date: Wed Oct 20 06:26:10 1999 GMT X-Http-User-Agent: Mozilla/4.04 [en] (Win95; I) X-Http-Proxy: 1.0 x37.deja.com:80 (Squid/1.1.22) for client 152.175.219.230 X-MyDeja-Info: XMYDJUIDgtnorton To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article , djgpp AT delorie DOT com wrote: > To Whom It May Concern; > > I purchased the book "Teach Yourself C++ in 24 hours" and so far I am > understanding > everything, but I can't seem to compile and run a program; my steps are: > > #1 - Type a program using EDIT. > #2 - Save the file with a *.CPP extension. > #3 - run gxx -o hello.cpp hello.exe (from c:\djgpp) > > and I continually get messages dealing with "no files found, etc.." I'd > like to get some > hands on experience so I need some help with the compiling of the program. > > Thank you, > > Alan McClusky > > Instead of saving the file *.CPP,try saving it as *.CC . Good luck, gtnorton Sent via Deja.com http://www.deja.com/ Before you buy.