Re: [Dev-C++] Win exe files do not run / Ansi C or pure C
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
|
From: Matthews <dem...@uw...> - 2002-12-26 15:49:28
|
If I understand your problem corrrectly, you are unable to see the "Hello
world." message that is supposed to print out. To rectify this, add
#include <stdlib.h> and in the line preceeding the return 0 command add
system("PAUSE");
Also, I do not understand why you #included windows.h. There's no reason
to at all.
At 12:52 PM 26/12/2002 +0100, Tri Nguyen wrote:
>Hej all,
>I would like to learn C and make win exe.
>I'm using Win98 SE and DevC++ version 4 (not the newest).
>The installed dir is C:\dev-C++ with Ming compile system (incl. in the
>package)
>My problem is I can not se whether the exe file runs or not.
>There are no error message after compiling.
>The c files are just a "Hello world" print out.
>All the files are in 2 zip files, one for proj03 and the second for proj04.
>
>The second question is the different between Ansi C and C and which is most
>suitable with DevC++.
>
>Thanks a lot
>
>TriMy,
>---
>Outgoing mail is certified Virus Free.
>Checked by AVG anti-virus system (http://www.grisoft.com).
>Version: 6.0.427 / Virus Database: 240 - Release Date: 06-12-2002
>
>Attachment Converted: "C:\EUDORA\Attach\c03.zip"
>
>Attachment Converted: "C:\EUDORA\Attach\c04.zip"
>
|