Hi, I'm Mario from Argentina and I wrote to you last
Monday about a problem on Dev-C++.
Here's what happened:
1) After I sent the mail to you, I realised that there was an update
available (4.01). So I downloaded it and replaced the old
DevCpp.exe for the new one... but the error persisted.
2) Then I took a look into my C++ program and try to understand
why I got the compiler error while my friend (who also works
with Dev-C++) didn't.
And there they were: I placed two comments (or remarks if
you like) starting with "//" BEFORE the inclusion of the
libraries.
3) I cut'em and pasted'em UNDER "#include <iostream.h>" and
"#include <stdlib.h>"... but the compiler error persisted.
4) Then I noticed that the cursor wasn't at the top-left corner of
the editor, and I thought to myself: "It may be an edition
problem".
5) So I pressed Ctrl+Home to re-position the cursor and clicked
on the "Compile project" button...
ALL WAS JUST FINE! NO ERRORS, AND MY EXE FILE
WAS CREATED.
So I came to a conclusion:
- YOU CAN'T PUT ANY REMARKS BEFORE THE INCLUSION
OF THE LIBRARIES.
- YOU MUST POSITION THE CURSOR IN THE TOP-LEFT
CORNER OF THE SCREEN BEFORE COMPILING.
These considerations stand for Dev-Pascal as well.
I hope you'll fix this in your next updates, 'cause Dev-C++ and
Dev-Pascal RULE! Thanx.
Mario G=F3mez.
Student of Analytic Computing.
mar...@ho...
|