随笔分类 -  IDE-Codeblocks

摘要:如下所示: #include <stdio.h> /*编译器默认是4字节对齐*/ struct test{ char a; int b; }; /*按实际占用的空间大小*/ struct test1{ char a; int b; }__attribute__((packed)); /*结构体大小必 阅读全文
posted @ 2021-09-03 11:29 夜行过客 阅读(204) 评论(0) 推荐(0) 编辑
摘要:Setting->editor->Indent options....去掉Brace completion前面的勾 阅读全文
posted @ 2020-12-08 10:42 夜行过客 阅读(1129) 评论(0) 推荐(0) 编辑

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