随笔分类 - c/c++
摘要:参考精选博客:https://blog.csdn.net/whatday/article/details/95926766 uthash.h /* * Copyright (c) Huawei Technologies Co., Ltd. 2020-2020. All rights reserved
阅读全文
摘要:参考:https://blog.csdn.net/a123441/article/details/90374650 utlist.h获取(可直接粘贴):https://gitee.com/yanbib/libcoap2/blob/master/utlist.h 使用手册(暂时只找到uthash的):
阅读全文
摘要:1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <stdbool.h> 4 #include <string.h> 5 6 #define NUM 3 7 8 typedef struct { 9 int a; 10 int b; 11 }
阅读全文
摘要:请实现一个函数用来判断字符串是否表示数值(包括整数和小数)。例如,字符串"+100","5e2","-123","3.1416"和"-1E-16"都表示数值。 但是"12e","1a3.14","1.2.3","+-5"和"12e+4.3"都不是。 思路:用正则表达式 解题参考:https://bl
阅读全文
摘要:注意:atoi()函数并不能单纯的把某字符串中的某字母转化为单个数字。 用法参考:https://www.cnblogs.com/ralap7/p/9171613.html
阅读全文
摘要:用法参考链接:https://blog.csdn.net/arrowyl/article/details/80886515 Codeblocks 出现'auto' changes meaning in C++11的错误提示时的解决方法:https://blog.csdn.net/OneLine_/a
阅读全文
摘要:参考:https://blog.csdn.net/syb198810/article/details/80753628?utm_source=blogxgwz4
阅读全文
摘要:参考:https://blog.csdn.net/qq_35937273/article/details/82529117
阅读全文
摘要:参考:https://blog.csdn.net/huangxiaohui123/article/details/81984175 补充: int tu[N][N],dis[N][N]; memcpy(dis,tu,sizeof(tu)); 用fill()函数进行数组初始化: 参考:https://
阅读全文