上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页
摘要: 前言: 今天遇到一个问题,在makefile中定义个宏,宏为一个字符串,希望将该字符串传递给代码。但是一直传递不过去,最后才找到原因,这里小结一下。 直接上代码,makefile 如下: 1 C_FLAGS := -DTEST_MACRO_HEHE="abcd1234" 2 3 test: test 阅读全文
posted @ 2022-12-03 14:13 墨尔基阿德斯 阅读(702) 评论(0) 推荐(1)
摘要: https://www.zhihu.com/question/421214887 1 void test(int); 2 int main(void){ 3 void (*fp)(int); 4 fp=test; 5 (*fp)(9); 6 7 fp(9); 8 return 0; 9 } 10 v 阅读全文
posted @ 2022-12-02 10:31 墨尔基阿德斯 阅读(198) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/still-smile/p/12092186.html 阅读全文
posted @ 2022-12-02 10:04 墨尔基阿德斯 阅读(22) 评论(0) 推荐(0)
摘要: 概述 — 跟我一起写Makefile 1.0 文档 (seisman.github.io) Makefile中的include命令详解 - colabean - 博客园 (cnblogs.com) 阅读全文
posted @ 2022-12-02 10:04 墨尔基阿德斯 阅读(43) 评论(0) 推荐(0)
摘要: https://cloud.tencent.com/developer/article/1703257 https://cloud.tencent.com/developer/article/2045107?from=article.detail.1703257 阅读全文
posted @ 2022-12-02 10:03 墨尔基阿德斯 阅读(28) 评论(0) 推荐(0)
摘要: 获取系统当前时间 在调试、日志输出、代码优化时,我们常常需要获得系统的时间。在一些性能要求高的代码优化时,对时间的精确度还比较高。在网上找不高质量的代码,便自己研究了一下,代码如下(能满足跨平台的要求,单位精确到微秒): 1 #ifdef _WIN32 2 #include <windows.h> 阅读全文
posted @ 2022-11-28 15:11 墨尔基阿德斯 阅读(164) 评论(0) 推荐(0)
摘要: https://www.cnblogs.com/jiu0821/p/6424951.html 阅读全文
posted @ 2022-11-27 21:49 墨尔基阿德斯 阅读(22) 评论(0) 推荐(0)
摘要: https://blog.csdn.net/qq_31473097/article/details/121412135 阅读全文
posted @ 2022-11-23 16:36 墨尔基阿德斯 阅读(32) 评论(0) 推荐(0)
摘要: https://github.com/512Community/threadpool https://zhuanlan.zhihu.com/p/504611524 https://github.com/Pithikos/C-Thread-Pool https://github.com/xuwenin 阅读全文
posted @ 2022-11-16 09:45 墨尔基阿德斯 阅读(21) 评论(0) 推荐(0)
摘要: https://zhuanlan.zhihu.com/p/347507399 阅读全文
posted @ 2022-11-14 21:12 墨尔基阿德斯 阅读(139) 评论(0) 推荐(0)
上一页 1 ··· 8 9 10 11 12 13 14 15 16 ··· 18 下一页