Update C code projects and configurations
This commit is contained in:
@@ -16,6 +16,4 @@ int main()
|
||||
}
|
||||
printf("%d\n",n);
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
+6
-2
@@ -9,9 +9,13 @@
|
||||
#include <direct.h>
|
||||
#endif
|
||||
|
||||
// !链表
|
||||
// !链表的清除
|
||||
/*
|
||||
1.
|
||||
1. 清除链表中的所有节点
|
||||
2. 释放链表占用的内存
|
||||
2.1 使用malloc申请的动态内存需要释放
|
||||
2.2 用malloc申请的内存,即使没有赋值,也会被赋值一个特定的值
|
||||
赋值就是使用,所以没必要为这种内存清空赋值
|
||||
*/
|
||||
|
||||
typedef struct _node{
|
||||
|
||||
Reference in New Issue
Block a user