摘要: 1、定义class类,最后需要分号。2、头文件引用避免重复,需要使用#ifndef #define #endif否则错误信息:error: conflicting declaration3、编译需要包含所有的cpp文件否则错误信息:undefined reference to4、map查找 MAP_... 阅读全文
posted @ 2015-05-08 18:54 充实自己 阅读(229) 评论(0) 推荐(0) 编辑