摘要:
#include <stdio.h> int main() { //使用数组来且元素是0/1来表示人物状态 int table[10]; int i; for(i=1; i<=8; i++){ table[i] = 1; } for(i=1; i<=8; i++){ printf("%-4d", t 阅读全文
posted @ 2022-11-14 20:51
行至为成
阅读(15)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { int a[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}; int m = 3; int n = sizeof(a) / 4; int i; int *p; for(i=0; i<m; i++){ p = 阅读全文
posted @ 2022-11-14 20:37
行至为成
阅读(30)
评论(0)
推荐(0)
摘要:
#include <stdio.h> int main() { //定义 int a[5] = {7, 8, 4, 1, 5}; int *p; int i; int max; max = a[0]; int maxTemp; int maxX; int min; min = a[0]; int m 阅读全文
posted @ 2022-11-14 20:27
行至为成
阅读(75)
评论(0)
推荐(0)

浙公网安备 33010602011771号