Computer Hope

Software => Computer programming => Topic started by: ComPnoob on December 01, 2004, 04:48:39 PM

Title: after compiling...
Post by: ComPnoob on December 01, 2004, 04:48:39 PM
After i compile and run a program, there was no mistake...the dos program just pop up and close down again so fast u cant c anything...is this suppose to happen???
Title: Re: after compiling...
Post by: Raptor on December 01, 2004, 10:42:36 PM
It is when you read *censored* tutorials like the one you did..

First of all, you failed to answer my first post. Second, you created an entirely new thread and third, you are wasting forum space by asking silly question that could be solved by reading a proper guide rather than being lazy.

Type system ("PAUSE") at the end of the line. May not work for all compilers..
Title: Re: after compiling...
Post by: ComPnoob on December 02, 2004, 03:11:48 PM
o u want me to reply  :P yea the guide said "after compiling u will get something like hello cruel world on ur screen"o yea after i put from the help of the other member it works now...need a stdlib.h
Title: Re: after compiling...
Post by: ComPnoob on December 02, 2004, 03:13:26 PM
and wat do u recommend a proper guide....
Title: Re: after compiling...
Post by: Raptor on December 03, 2004, 08:02:05 AM
http://www.computerhope.com/cgi-bin/yabb/YaBB.cgi?board=10;action=display;num=1101792409

Title: Re: after compiling...
Post by: viking on December 06, 2004, 06:45:18 AM
Run the executable  (.exe file obtained after compilation) from dos prompt (command prompt window).