摘要: ``` #include #include int main() { char a[50] = "nearby! "; int i, j; int count = 0; for (i = 0, j = 0; a[i]; i++) { if (a[i] != ' '){ a[j++]... 阅读全文
posted @ 2018-05-29 19:40 苏小北1024 阅读(217) 评论(0) 推荐(0) 编辑
摘要: 摘要: valgrind是linux下用于调试程序和查找内存泄露的常用工具。valgrind会报告5种内存泄露,"definitely lost", "indirectly lost", "possibly lost", "still reachable", and "suppressed"。笔者于 阅读全文
posted @ 2018-05-29 16:21 苏小北1024 阅读(1442) 评论(0) 推荐(0) 编辑