摘要:
``` #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++]... 阅读全文
摘要:
摘要: valgrind是linux下用于调试程序和查找内存泄露的常用工具。valgrind会报告5种内存泄露,"definitely lost", "indirectly lost", "possibly lost", "still reachable", and "suppressed"。笔者于 阅读全文