13. .
Visual Studio .
:
- ;
- , ;
- ;
- .
, . ().
Visual Studio 2008, , , .
, , , , .
. , . .
, . , , , ( - ).
- , , (). (sources). .c .cpp (header file), .h .hpp.
, xxx.h , . . - ., xxx.h #include. C++ ( #include) ..
, . . glvar1 . static, , . glvar2 . static, . , , , extern ( xxx.h).
|
|
:
- , , , ;
- () ;
- ( extern);
- .
. , .h include xxx.h (, , ) - , .
. : , .h #ifndef #endif, #define.
#ifndef FILENAME_H
#define FILENAME_H
/* */
#endif