Mail Archives: djgpp/1999/10/20/08:11:52
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 -