<stdio.h>

What is <stdio.h>?
It has popped up frequently and seems very important.
Please enlighten me!
Last edited on
stdio.h is C's header for standard input and output, such as to and from the console and files. In C++, it's called cstdio.
http://cplusplus.com/reference/clibrary/cstdio/

Happy coding!

-Albatross

P.S: Both of those have a C++ "replacement", if you will, in the form of <iostream>. ;)
Last edited on
Wait...

So are <stdio.h> and <iostream> the same thing? (with different names, obviously)
No. Not at all.

See here for the functions provided by stdio

http://www.cplusplus.com/reference/clibrary/cstdio/

and here for what iostream gives you

http://www.cplusplus.com/reference/iostream/iostream/




Topic archived. No new replies allowed.