kuikuitage

  博客园  ::  :: 新随笔  :: 联系 ::  :: 管理

2021年2月8日

摘要: hello.cpp #include <iostream> #include "hello.h" #ifdef USE_ADD #include "libtest.h" #endif #if defined(HAVE_LOG) && defined(HAVE_EXP) #include <cmath 阅读全文
posted @ 2021-02-08 01:04 kuikuitage 阅读(80) 评论(0) 推荐(0) 编辑

摘要: hello.cpp #include <iostream> #include "hello.h" #ifdef USE_ADD #include "libtest.h" #endif int main(int argc, char** argv) { #ifdef USE_ADD std::cout 阅读全文
posted @ 2021-02-08 01:03 kuikuitage 阅读(54) 评论(0) 推荐(0) 编辑

摘要: hello.cpp #include <iostream> #include "hello.h" #ifdef USE_ADD #include "libtest.h" #endif int main(int argc, char** argv) { #ifdef USE_ADD std::cout 阅读全文
posted @ 2021-02-08 01:02 kuikuitage 阅读(47) 评论(0) 推荐(0) 编辑

摘要: hello.cpp #include <iostream> #include "hello.h" int main(int argc, char** argv) { if (argc < 2) { // report version std::cout << argv[0] << " Version 阅读全文
posted @ 2021-02-08 01:01 kuikuitage 阅读(25) 评论(0) 推荐(0) 编辑

摘要: hello.cpp #include <cstdio> int main() { printf("hello world\n"); return 0; } CMakeLists.txt cmake_minimum_required(VERSION 3.10) project(helloworld) 阅读全文
posted @ 2021-02-08 01:00 kuikuitage 阅读(37) 评论(0) 推荐(0) 编辑