C++ Separate Compilation

C++ Separate Compilation


1.A header file that contains the structure declarations and prototypes for functions using those structures

2.A source code file that contains the code for the structure-related functions

3.A source code file that contains the code that calls upon those functions

Here are some things commonly found in header files:

a.Function prototypes

b.Symbolic constants defined using #define or const

c.Structure declarations

d.Class declarations

e.Template declarations

f.Inline functions

你可能感兴趣的:(C++,c,C#,F#)