C语言
ha丨hh
这个作者很懒,什么都没留下…
展开
-
C语言笔记---文件操作
//#define _CRT_SECURE_NO_WARNING #pragma warning(disable:4996); #include <stdio.h> #include <stdlib.h> #include<string.h> int main() { char fileName[256]; //1.写入文件 /* printf(“请输入需要创建的文件:\n”); scanf("%s", fileName); getchar();//读取scanf结束的换原创 2020-10-24 13:04:29 · 115 阅读 · 0 评论 -
C语言笔记---单向链表
#pragma warning(disable:4996); #include <stdio.h> #include <stdlib.h> #include<string.h> //单向链表 //链表节点数据结构 struct LinkNode { struct LinkNode* next; }; //链表结构体 struct LList { struct LinkNode header;//头结点 int size; }; typedef void* LinkList原创 2020-10-26 19:20:48 · 130 阅读 · 0 评论