摘要: #define _CRT_SECURE_NO_WARNINGS 1 #include <stdio.h> #define N 4 int main() { int a[N]={1,9,8,4}; char b[N] = { '1','9','8','4' }; int i; printf("size 阅读全文
posted @ 2022-11-28 10:10 _kobayashi 阅读(13) 评论(0) 推荐(0) 编辑
摘要: #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); // 函数声明 vo 阅读全文
posted @ 2022-11-06 17:03 _kobayashi 阅读(19) 评论(0) 推荐(0) 编辑
摘要: task1 #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) { numb 阅读全文
posted @ 2022-10-25 15:57 _kobayashi 阅读(8) 评论(0) 推荐(0) 编辑
摘要: task1 #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"); 阅读全文
posted @ 2022-10-13 10:50 _kobayashi 阅读(22) 评论(0) 推荐(0) 编辑