www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/10/20/08:11:52

From: eplmst AT lu DOT erisoft DOT se (Martin Stromberg)
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Problems compiling and running a program.
Date: 20 Oct 1999 10:35:34 GMT
Organization: Ericsson Erisoft AB, Sweden
Message-ID: <7uk5tm$r1l$1@antares.lu.erisoft.se>
References: <B45C46D3AF14D3119C560090274F38D424C6BB AT DAEX01>
NNTP-Posting-Host: propus-144.lu.erisoft.se
X-Newsreader: TIN [version 1.2 PL2]
Lines: 31
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

McClusky, Alan (AlanM AT lscsoft 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.

In addition to what other people have said, verify this:

1. Make sure that you really have a file named "hello.cpp" after saving.

2. Check again that you really have a file named "hello.cpp".

3. Do "dir hello.cpp" from a DOZE promt. Do you really have a file
   named "hello.cpp"?

4. Did I mention that you really must make sure that you have a file
   named "hello.cpp", and not one named "hello.cpp.txt"?


Right,

							MartinS

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019