会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
chennana
博客园
首页
新随笔
联系
订阅
管理
2023年6月15日
实验七
摘要: #define _CRT_SECURE_NO_WARNINGS #include <stdio.h> int main() { int i; i = 0; char ch; FILE* fp; fp = fopen("data4.txt", "r"); if(fp==NULL) { printf("
阅读全文
posted @ 2023-06-15 15:25 CHnanan
阅读(41)
评论(0)
推荐(0)
2023年5月25日
实验六
摘要: #include <stdio.h> #include<string.h> #define N 100 typedef struct { char num[10]; // 学号 int s1; // 期末成绩 int s2; // 平时成绩 double sum; // 总评 char level[
阅读全文
posted @ 2023-05-25 20:23 CHnanan
阅读(11)
评论(0)
推荐(0)
2023年5月5日
实验五
摘要: #include <stdio.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; for (i = 0; i < N; ++i) printf("%d", x[i]); printf("\n"); for (p =
阅读全文
posted @ 2023-05-05 19:42 CHnanan
阅读(22)
评论(0)
推荐(0)
2023年4月13日
实验四
摘要: #include <stdio.h> #define N 4 int main() { int a[N] = {2, 0, 2, 3}; char b[N] = {'2', '0', '2', '3'}; int i; printf("sizeof(int) = %d\n", sizeof(int)
阅读全文
posted @ 2023-04-13 20:21 CHnanan
阅读(16)
评论(0)
推荐(0)
2023年4月2日
实验三
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void print_text(int line, int co1, char text[]); void print_spa
阅读全文
posted @ 2023-04-02 17:56 CHnanan
阅读(38)
评论(0)
推荐(0)
2023年3月19日
实验二
摘要: #include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 #define R1 586 #define R2 701 int main() { int number; int i; srand( time(0) ); for(
阅读全文
posted @ 2023-03-19 20:18 CHnanan
阅读(21)
评论(0)
推荐(0)
2023年3月5日
我的博客地址
摘要: https://www.cnblogs.com/chennana/
阅读全文
posted @ 2023-03-05 20:16 CHnanan
阅读(13)
评论(0)
推荐(0)
实验一
摘要: #include<stdio.h> #include<stdlib.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); printf(" o \n"); printf("<H>\n"); printf("I I\n")
阅读全文
posted @ 2023-03-05 20:13 CHnanan
阅读(19)
评论(0)
推荐(0)
公告