会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
StarOi
博客园
首页
新随笔
联系
订阅
管理
2021年9月24日
学生管理系统C(指针与结构)
摘要: 懒猫老师作业之学生信息系统 #include <stdio.h> #include<string.h> #include<malloc.h> #include<stdlib.h> #include<stdbool.h> #define NO_LENGTH 20 #define NAME_LENGTH
阅读全文
posted @ 2021-09-24 22:18 StarOu
阅读(144)
评论(0)
推荐(0)
2021年9月13日
结构体变量传参
摘要: 以返回值的方式输出 1 #include<stdio.h> 2 typedef struct Point{ 3 int x; 4 int y; 5 } Point; 6 void Display(Point point) 7 { 8 printf("x:%d \n",point.x); 9 prin
阅读全文
posted @ 2021-09-13 11:24 StarOu
阅读(197)
评论(0)
推荐(0)
2021年9月12日
结构体
摘要: 1.结构体的定义 结构体中定义的属于属性。结构体类似一种特殊的变量。 第一种 声明 struct book books; 注:struct book 类似于 int 类型 第二种 注:typedef 是给类型起别名 声明 Book books; 第三种 由于第二种写的麻烦。等同第二种 第四种 在声明
阅读全文
posted @ 2021-09-12 21:11 StarOu
阅读(358)
评论(0)
推荐(0)
公告