Update C code projects and configurations

This commit is contained in:
2025-08-04 13:00:16 +08:00
parent c9e57b4d41
commit 127ecdab8f
18 changed files with 159 additions and 155 deletions
@@ -16,6 +16,4 @@ int main()
}
printf("%d\n",n);
return 0;
}
}
+6 -2
View File
@@ -9,9 +9,13 @@
#include <direct.h>
#endif
// !链表
// !链表的清除
/*
1.
1. 清除链表中的所有节点
2. 释放链表占用的内存
2.1 使用malloc申请的动态内存需要释放
2.2 用malloc申请的内存,即使没有赋值,也会被赋值一个特定的值
赋值就是使用,所以没必要为这种内存清空赋值
*/
typedef struct _node{