Ok i've been reading a book called "C for Dummies" which has alot of padding. It show you some basic things like printf.. and how to compile.
When you run these "programs" in the book they run though cmd, but the program doesn't complete (or it does but you don't see it), you see it closes as soon as the program is finish. What do I need to add to the code you keep it open untill someone exits.
Thanks.