thanks a lot people.it worked.
thanks a lot people.it worked.
Originally Posted by PINGNow everyone's happy!Code:#include <stdio.h> #ifdef PING_s_COMPILER typedef void MAIN_t; #else typedef int MAIN_t; #endif MAIN_t main(){ /*read some input*/ #ifdef PING_s_COMPILER fflush(stdin); #else char c;//I know C99 do{ c=getchar(); }while( c!= '\n' && c!= EOF); return 0; #endif }
Last edited by xErath; 11-21-2004 at 09:10 PM.