In C++ we always put the following at the top of the program
#include <iostream>
What about for C?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Well, this is called the standard I/O header. In C you have:
It’s not an analog to
<iostream>. There is no analog to iostream in C — it lacks objects and types. If you’re using C++, it’s the analog to<cstdio>.See also this fantastic question and its answer,