0
Difference between header files "stdio.h"and " iostream"
What is best to choose and what are the features of these two header files. can we replace them in one another place?
5 odpowiedzi
+ 4
<stdio.h> is a C header (can also be used in C++, commonly known as <cstdio>) which provides input/output functionalities through the use of printf() and scanf().
<iostream> is a C++ header file which provides input stream and output stream objects, e.g. std::cout, std::cin.
+ 4
Stdio.h is library in c and iosream is library in cplusplus.
Choose studio in c language and choose iostream in cplusplus.
0
Both header files contains input output functions
0
You can not replace them as both are for different languages