摘要: 1 #include <stdio.h> 2 #include <string.h> 3 #include "iostream" 4 5 typedef struct { 6 unsigned int dwMsgLen; 7 char ucMsg[0]; //柔性数组(零长数组) C99以上支持 8 阅读全文
posted @ 2019-11-25 22:36 atoman 阅读(1162) 评论(0) 推荐(0) 编辑
摘要: 1 #include "iostream" 2 3 using namespace std; 4 5 int main(void) 6 { 7 int a = 1000; 8 printf("%d\n", sizeof(a++)); 9 printf("%d\n", sizeof(++a)); 10 阅读全文
posted @ 2019-11-25 21:18 atoman 阅读(347) 评论(0) 推荐(0) 编辑
摘要: 1.打开.bashrc文件 vim ~/.bashrc 1 # .bashrc 2 alias rm='rm -i' 3 alias cp='cp -i' 4 alias mv='mv -i' 5 alias xsymakeptmcu='./maketest process all fege_smf 阅读全文
posted @ 2019-11-25 08:49 atoman 阅读(391) 评论(0) 推荐(0) 编辑