+ 2

Diffrence of Header's

Hi, Im learning c++ for 1 month. My teachers showed me the header <stdio.h> but most of peoples using <iostream.h>. Whats the diffrence of stdio and iostream. Also which one is more usefull? Also will I get any problem if I continue using <stdio.h>?

15th Nov 2018, 4:55 PM
Berkay Soylu
Berkay Soylu - avatar
5 Respostas
+ 10
The stdio.h header file is used to access functions like printf (), scanf (), which are used in C. The iostream.h header file is used to access functions like cout , cin, etc which are used in C++. If you want to learn C++, then use iostream.h
15th Nov 2018, 5:14 PM
Nova
Nova - avatar
+ 10
I don't know much about C++ graphics. But till I know the header file is graphics.h and not graph.h which gives you many functions like line () - to draw a line and many more.
16th Nov 2018, 4:21 AM
Nova
Nova - avatar
+ 1
Oh I see. Which one is more complicated or hard? Keval Also I wanna use pictures or animations on my codes. As I heard there is a header with <graph.h> name. Do you know more usefull header or much better?
15th Nov 2018, 5:19 PM
Berkay Soylu
Berkay Soylu - avatar
+ 1
Ok ty for information ^^ Keval
16th Nov 2018, 5:00 AM
Berkay Soylu
Berkay Soylu - avatar
0
Up
15th Nov 2018, 5:12 PM
Berkay Soylu
Berkay Soylu - avatar