> I keep getting a message that there is not an exe. file. What is causing this?
Exact details please, not some vague "there's an error".
This means
- State your OS and compiler, with versions (not just windows and borland say)
- An example simple program which shows the problem - don't forget the code tags
- copy / paste any error messages you get.
Most compilers for example will not produce a .exe file if there are errors in your prog.cpp file.
So my guess is, is that it isn't compiling.
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953
> don't forget the code tags
I guess that fell on deaf ears.
And I guess you don't see the background image of the edit window where you compose your messages, which also tells you about the code tags.
Programming is about attention to detail.
Press "compile" every few lines, not when the whole program is done. That way you're only ever a few edits between your last good program and the current crop of error messages.
> Each string literal must appear entirely on one line of the program.
The compiler will fold long lines like this example
cout << "This is an example"
" of text spread over"
" many lines\n";
Salem
Posting Sage
11,531 posts since Dec 2005
Reputation Points: 5,862
Solved Threads: 953