If I have any C + + source code from the Internet to view, then there's a *. cpp and *. h file with the same name.Traditionally, it is so that in the header files, the prototypes of the functions and features and elements in the same source files, the declarations are correct?Suppose that all files belong to a project (in my Dev-Cpp), the cpp file, where the main () function is available, but all must include the header files (# include "xyz.h")? But what with the same name *. cpp files.I did as an abstract class in a header "abstract.h" should be a class SubAbstract that inherits the abstract class and what in "subabstract.h" should be, the declaration of the element functions come in "subabstract.cpp "and then somewhere in the" main.cpp ".can any one give me the explanation?Thanks in advance for your help.