Thread: Programming in C: system( "pause")
hey guys,
i've started programming in c class , have problem i'd few opinions on.
i've been using gcc compile programs , terminal run them, i've been playing around c couple of months , feel i've learned quite bit.
started class yesterday , professor uses devc++ told whenever write program should use stdlib.h header file (all there, i've been using stdio.h change of names guess, have stdlib.h file on computer) , putbefore function main's return.code:system("pause")
code compile system pause, barks @ me bit. doesn't really. also, program won't "pause" program runs , ignores system pause.
i've read, windows dependent thing , use not recommended because how acts vary system system.
thoughts?
p.s. professor showing wallet , how money in , not blah blah "be me" accidentally erased code editor , got confused 3 times, sigh.
you use getchar() function make program wait input.
Forum The Ubuntu Forum Community Ubuntu Specialised Support Development & Programming Programming Talk Programming in C: system( "pause")
Ubuntu
Comments
Post a Comment