蓝天

2016年8月25日 #

PRId64的正确用法

摘要: #include #include #include // g++ -g -o x x.cpp -D__STDC_FORMAT_MACROS -std=c++11int main(){ int64_t a = 32; //printf("%... 阅读全文

posted @ 2016-08-25 13:28 #蓝天 阅读(3265) 评论(0) 推荐(0) 编辑

cmake检测g++编译器是否支持c++11

摘要: # 相关链接:https://cmake.org/cmake/help/v3.0/module/CheckCXXCompilerFlag.html​​include(CheckCXXCompilerFlag)CHECK_CXX_COMPILER_FLAG("-std=... 阅读全文

posted @ 2016-08-25 13:02 #蓝天 阅读(2027) 评论(0) 推荐(0) 编辑

导航