Header Files in C++
Hello friends today we discuss about most important topic in C++ programming. Header Files in C++
See in the below example
#include <iostream>
int main()
{
using namespace std;
cout << "Hello, world!" << endl;
return 0;
}
In above program print message on scree hello world! by using cout but we don't define cout here actually already cout has been declared in a header file called "iostream".
Types of Header files
There are two types of header files in C++ Programming language.
System header files
System header files is comes with compiler.
User header files
User header files is written by programmer.
No comments :
Post a Comment