实验4 数组应用编程
摘要:1 #include <stdio.h> 2 #define N 4 3 int main() 4 { 5 int a[N] = { 1, 9, 8, 4 }; 6 char b[N] = { '1', '9', '8', '4' }; 7 int i; 8 printf("sizeof(int)
阅读全文
实验3 C语言控制语句应用编程
摘要:#include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int col, char text[]); void print
阅读全文