摘要:
task4.c #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #include <string.h> #define N 100 typedef struct{ char num[10]; int s1; int s2; dou 阅读全文
摘要:
task1.c (1) #include <stdio.h>#include <stdlib.h> #define N 4 int main() { int x[N] = {1, 9, 8, 4}; int i; int *p; // 方式1:通过数组名和下标遍历输出数组元素 for (i = 0; 阅读全文
摘要:
task1.1.c // .1.c.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h" #include <stdio.h> #include <stdlib.h> #define N 4 int _tmain(int argc, _TCHAR* argv[]) 阅读全文
摘要:
task1.c #include <StdAfx.h> #include <stdio.h> #include <stdlib.h> #include <time.h> #include <windows.h> #define N 80 void print_text(int line, int c 阅读全文
摘要:
task1 (1)line 18 代码实现的功能是 :一个586 到781 间的随机数 (2)该程序的功能为随机生成586到781 之间的"真·随机数" task2 // .2.2.c.cpp : 定义控制台应用程序的入口点。 // #include "stdafx.h"#include <stdl 阅读全文
摘要:
task1.1.c #include "stdafx.h" // 打印一个字符小人 #include <stdio.h> #include <stdlib.h> int main() { printf(" O \n"); printf("<H>\n"); printf("I I\n"); print 阅读全文