Iostream vs studio.h | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 7

Iostream vs studio.h

i was learn with studio.h and in this app use iostream.what is the diffences between both headers thxs and sorry for my English it isnt my first lenguaje

28th Apr 2017, 1:51 PM
Diego Lazcano
Diego Lazcano - avatar
1 Answer
+ 14
<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(), scanf(). <iostream> is a C++ header file which provides input stream and output stream objects, e.g. std::cout, std::cin.
28th Apr 2017, 2:05 PM
Hatsy Rei
Hatsy Rei - avatar