In C++ we always put the following at the top of the program
#include <iostream>
What about for C?
Well, this is called the standard I/O header. In C you have:
#include <stdio.h>
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,
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With