On Mon, 12 Nov 2007 13:32:57 -0800 (PST)
Parminder Kaur <[EMAIL PROTECTED]> wrote:

> thanks for ur reply. i compiled my program but its not
> run. when i click on run, nothing happens. plz help me
> out
> thanks

Something does happen, the compiler will spawn a new process. Your
program is executed, and then the program exits and focus returns to
the compiler/ide.

If you wish the program to remain on the screen, displaying the output,
then perhaps putting something like:

/*
#include <stdio.h>   // at the top

char tmp[1024];      // ...

and

fgets( tmp, 1024, stdin ); // at the bottom
*/

or, using iostream

/*

cin >> a; // at the bottom.

*/

this way the program will wait for some input before returning.

-- 
The Fiber to the fax machine is sending all zeros because of
electromagnetic pulse. Barbarella is playing way too much Diablo II.
:: http://www.s5h.net/ :: http://www.s5h.net/gpg


[Non-text portions of this message have been removed]

Reply via email to