Quote Originally Posted by chucker View Post
That was a copy and paste fault, stdio.h was there.
That's why it's important to make sure everything in your post is included, and especially the case if it's a 'C' program.
the screen is still just blank when i run it. I use codeblocks, so yes about the debugger.
Single-step through your program using the debugger and see where it goes wrong.

Regards,

Paul McKenzie