c
RICKO-_-
这个作者很懒,什么都没留下…
展开
-
修改程序的配置文件
修改文件可以对其进行封装成函数#include <sys/types.h>#include <sys/stat.h>#include <fcntl.h>#include<stdio.h>#include<unistd.h>#include<string.h>#include<stdlib.h>int main( int argc, char **argv){ //传入一个文件 int fd原创 2021-03-15 22:09:43 · 193 阅读 · 0 评论 -
动态链表的创建
分别使用了从头插入以及从尾部插入#include <stdio.h>#include<stdlib.h>struct student{ int yu; int shu; int ying; struct student *next;};void printlink(struct student *head){ //先while遍历时printf出来 struct student *p; p = head; whil原创 2021-03-14 00:24:29 · 72 阅读 · 0 评论 -
c语言在静态链表中的节点前后插入以及删除节点的用法
静态链表使用到了:静态链表的遍历静态链表的遍历统计静态链表的节点前插静态链表的节点后插静态链表的节点删除#include <stdio.h>//#include<stdiob.h>struct student{ int yu; int shu; int ying; struct student *next;};void printlink(struct student *head){ //先while遍历时printf出来原创 2021-03-13 21:53:37 · 333 阅读 · 0 评论