会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
whhnxr
博客园
首页
新随笔
联系
订阅
管理
2022年12月27日
实验6
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #define N 7 #define M 80 typedef struct { char name[M]; // 书名 char author[M]; // 作者 } Book; int mai
阅读全文
posted @ 2022-12-27 16:52 南信大最帅的男人
阅读(13)
评论(0)
推荐(0)
2022年12月21日
实验5
摘要: 3 #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> #include<string.h> #include<stdlib.h> #define N 100 typedef struct { char num[10]; int s1; int s2
阅读全文
posted @ 2022-12-21 22:19 南信大最帅的男人
阅读(27)
评论(0)
推荐(0)
2022年11月23日
实验四
摘要: int是连续存放,四个字节char也是连续存放,一个字节一样一样#include <stdio.h> #define N 4 int main() { int a[N] = { 1, 9, 8, 4 }; char b[N] = { '1', '9', '8', '4' }; int i; prin
阅读全文
posted @ 2022-11-23 20:50 南信大最帅的男人
阅读(16)
评论(0)
推荐(0)
2022年11月6日
实验3
摘要: 1 #include<stdio.h>#include<stdlib.h>#include<time.h>#include<Windows.h>#define N 80 void print_text(int line,int col,char text[]);void print_spaces(i
阅读全文
posted @ 2022-11-06 20:30 南信大最帅的男人
阅读(27)
评论(0)
推荐(0)
2022年10月24日
实验2
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 int main() { int number; int i; srand(time(0)); for(i=0,i<N,i++) { number=rand()%500
阅读全文
posted @ 2022-10-24 20:16 南信大最帅的男人
阅读(21)
评论(0)
推荐(0)
2022年10月13日
实验1
摘要: #include<stdio.h> #include<stdlib.h> int main() { printf(" 0\n 0\n"); printf("<H>\n <H>\n"); printf("I I\n I I\n"); system("pause"); return 0; } #incl
阅读全文
posted @ 2022-10-13 13:06 南信大最帅的男人
阅读(17)
评论(0)
推荐(0)
公告