会员
周边
新闻
博问
闪存
众包
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
XWJqhhy
博客园
首页
新随笔
联系
订阅
管理
2022年6月14日
实验六
摘要: 一: 1、 #include <stdio.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; // 方式1:通过数组名和下标遍历输出数组元素 for(i=0; i<N; ++i) printf("%d", x[i]
阅读全文
posted @ 2022-06-14 09:54 夏吾吉
阅读(20)
评论(1)
推荐(0)
2022年6月5日
实验五
摘要: 一: 1, #define _CRT_SECURE_NO_WARNINGS #include<stdio.h> #define N 5 #define M 80 typedef struct { char name[M]; char author[M]; }Book; int main() { Bo
阅读全文
posted @ 2022-06-05 21:14 夏吾吉
阅读(17)
评论(1)
推荐(0)
2022年5月9日
实验四
摘要: task 1-1 #include <stdio.h> #define N 4 int main() { int a[N] = {2, 0, 2, 2}; char b[N] = {'2', '0', '2', '2'}; int i; printf("sizeof(int) = %d\n", si
阅读全文
posted @ 2022-05-09 23:17 夏吾吉
阅读(17)
评论(1)
推荐(0)
2022年4月24日
实验三
摘要: task 1 //每隔一秒出现一次hi,May~ 共10次#include<stdio.h> #include<stdlib.h> #include<time.h> #include<windows.h> #define N 80 void printText(int line,int co1,ch
阅读全文
posted @ 2022-04-24 16:20 夏吾吉
阅读(32)
评论(1)
推荐(0)
2022年4月19日
实验二
摘要: //随机生成五个201883300001到202183300999之间的学号 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int grade,number; int i; sran
阅读全文
posted @ 2022-04-19 11:05 夏吾吉
阅读(36)
评论(1)
推荐(0)
2022年3月26日
C语言开发设计与数据类型
摘要: #include <stdio.h> int main() { printf(" o\n"); printf("<h>\n"); printf("I I\n"); printf(" \n"); printf(" o\n"); printf("<h>\n"); printf("I I\n"); ret
阅读全文
posted @ 2022-03-26 16:40 夏吾吉
阅读(67)
评论(2)
推荐(0)
公告