📜  错误 C2011 - C++ 代码示例

📅  最后修改于: 2022-03-11 14:44:46.625000             🧑  作者: Mango

代码示例1
/* 
 *You need to top and tail your header file with an include guard, 
 * in order to avoid calling the header file twice (Once in header of child 
 * class, once in main). In order to have header specificy, it's best to
 * derive the name from the name of the class.
*/
#ifndef HEADERNAME_H
#define HEADERNAME_H
// Header code i.e. class...
#endif