Hi,
I am totally confused between include header files and source files?
Some sample C++ programs in my C++ textbook using like this:
Code:
#include <iostream.h>
#include "Person.h"
int main()
{
........................
}
Other files such as Student.h using include like this:
Code:
const int MAX = 30;
class Student
{
public:
Student();
Getname();
.......................
private:
char name[MAX];
............................
};
#include "Person.cpp" //include source file at the end?
//I am confuse??What the purpose here