摘要: https://www.runoob.com/cplusplus/cpp-preprocessor.html https://www.runoob.com/cplusplus/cpp-signal-handling.html https://www.runoob.com/cplusplus/cpp- 阅读全文
posted @ 2019-09-10 14:58 valar、 阅读(215) 评论(0) 推荐(0) 编辑
摘要: 定义命名空间 命名空间的定义使用关键字 namespace,后跟命名空间的名称,如下所示: 为了调用带有命名空间的函数或变量,需要在前面加上命名空间的名称,如下所示: using 指令 您可以使用 using namespace 指令,这样在使用命名空间时就可以不用在前面加上命名空间的名称。这个指令 阅读全文
posted @ 2019-09-10 14:44 valar、 阅读(298) 评论(0) 推荐(0) 编辑