<stdio.h>

May 14, 2011 at 2:32am
What is <stdio.h>?
It has popped up frequently and seems very important.
Please enlighten me!
Last edited on May 14, 2011 at 12:10pm
May 14, 2011 at 3:40am
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 May 14, 2011 at 3:41am
May 14, 2011 at 12:13pm
Wait...

So are <stdio.h> and <iostream> the same thing? (with different names, obviously)
May 14, 2011 at 1:47pm
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.