03 2020 档案

摘要:在 linux 平台下使用 CMake 生成 Makefile 并编译的流程如下: 编写 CMake 配置文件 CMakeLists.txt 。 执行命令 cmake PATH 生成 Makefile 。 PATH 是 CMakeLists.txt 所在的目录。 使用 make 命令进行编译。 例子 阅读全文
posted @ 2020-03-13 10:56 cicero 阅读(154) 评论(0) 推荐(0) 编辑
摘要:#include <stdlib.h> #include <iostream> #include <time.h> #include <string> #include <stdio.h> using namespace std; int main(int argc, char* argv[]) { 阅读全文
posted @ 2020-03-12 10:54 cicero 阅读(973) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示