2022年6月14日

摘要: #include <stdio.h>#include <stdlib.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(" 阅读全文

posted @ 2022-06-14 11:05 Hi,海 阅读(15) 评论(1) 推荐(0) 编辑


2022年6月6日

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

posted @ 2022-06-06 22:38 Hi,海 阅读(25) 评论(0) 推荐(0) 编辑


2022年5月9日

摘要: #include<stdio.h> #include<stdlib.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",sizeo 阅读全文

posted @ 2022-05-09 17:06 Hi,海 阅读(14) 评论(1) 推荐(0) 编辑


2022年4月22日

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

posted @ 2022-04-22 13:21 Hi,海 阅读(33) 评论(1) 推荐(0) 编辑


2022年4月17日

摘要: 1.#include<stdio.h> #include<stdlib.h> #include<time.h> #define N 5 int main() { int grade,number; int i; srand (time(0)); for (i=0;i<N;++i) { grade=r 阅读全文

posted @ 2022-04-17 20:29 Hi,海 阅读(40) 评论(2) 推荐(0) 编辑


2022年3月28日

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

posted @ 2022-03-28 11:02 Hi,海 阅读(42) 评论(1) 推荐(0) 编辑


Copyright © 2024 Hi,海
Powered by .NET 8.0 on Kubernetes