RE: [Dev-C++] Window closes after Run
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Reid T. <Rei...@at...> - 2004-11-02 14:04:21
|
> On 2 Nov 2004 at 1:03, fred mira wrote: >>=20 >> I get error messages (6 for the first and 4 for the second) > which are >>> stray' \204' in program. >>=20 >> these messages are after the following : >> in function ' int main(int,char**)' which is not assigned as error. >=20 > I just copied both of the code samples that you gave and pasted them > both into Dev-C++. They both compiled and ran just fine. >=20 > However, the error message you're getting makes it sound like you've > got a stray ascii character in the text file. Octal 204 is the =E4 > character (if that came across.) I don't see that character in the > examples you listed. Are you sure the code samples are exactly what > you're trying to compile?=20 >=20 > Watson (the pencil neck) Davis In the past I've discovered that copying and pasting source from web = pages or other non-plain text electronic documents can result in the = inclusion of non-printing characters. Not sure if fred copied and = pasted, but I'd guess that if he started with a clean file and typed in = the code the errors would go away. reid |