+ 2
Someone explain the difference between these three
#include <iostream> #include <math.h> #include <conio.h> #include <stdio.h>
2 Answers
+ 4
These all are libraries. Libraries include various functions and other things for programmers to use. First one is a C++ library, other 3 are C libraries, but they also are compatible with C++. <iostream> includes input and output functionalities for C++, like std::cin and std::cout objects. <math.h> includes math functions for C. <conio.h> includes functions for console input/output. And <stdio.h> also has I/O functions for C, like printf, scanf
+ 3
I don't learn C++ yet, but I just wanted to point out : There are 4 types, not 3 đ