• 博客园logo
  • 会员
  • 周边
  • 新闻
  • 博问
  • 闪存
  • 众包
  • 赞助商
  • Chat2DB
    • 搜索
      所有博客
    • 搜索
      当前博客
  • 写随笔 我的博客 短消息 简洁模式
    用户头像
    我的博客 我的园子 账号设置 会员中心 简洁模式 ... 退出登录
    注册 登录

wjy0305

  • 博客园
  • 联系
  • 订阅
  • 管理

公告

2022年6月13日

实验六

摘要: #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]); pri 阅读全文

posted @ 2022-06-13 18:30 王佳瑶 阅读(38) 评论(0) 推荐(0)

2022年6月5日

实验五

摘要: task1-1 #include <stdio.h> #define N 5 #define M 80 typedef struct { char name[M]; // 书名 char author[M]; // 作者 }Book; int main() { Book x[N] = { {"一九八 阅读全文

posted @ 2022-06-05 13:10 王佳瑶 阅读(16) 评论(0) 推荐(0)

2022年5月9日

实验4

摘要: task1-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", siz 阅读全文

posted @ 2022-05-09 16:15 王佳瑶 阅读(38) 评论(0) 推荐(0)

2022年4月22日

实验3

摘要: task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void printText(int line, int col, char text[]); // 函数 阅读全文

posted @ 2022-04-22 21:11 王佳瑶 阅读(48) 评论(0) 推荐(0)

2022年4月16日

实验2

摘要: task1 #include <stdio.h> #include <stdlib.h> #include <time.h> #define N 5 int main() { int grade, number; int i; srand(time(0)); // 以当前系统时间作为随机种子 for 阅读全文

posted @ 2022-04-16 11:40 王佳瑶 阅读(51) 评论(0) 推荐(0)

2022年3月26日

实验1

摘要: //task1_1.c//垂直方向上打印出两个字符小人 #include<stdio.h> int main() { printf(" o \n"); printf("<H>\n"); printf("I I\n"); printf("\n"); printf(" o \n"); printf("< 阅读全文

posted @ 2022-03-26 16:10 王佳瑶 阅读(130) 评论(0) 推荐(1)

 
博客园  ©  2004-2026
浙公网安备 33010602011771号 浙ICP备2021040463号-3