做同学录遇到问题了

来源:百度知道 编辑:UC知道 时间:2024/06/21 17:11:59
#include <stdio.h>
#include <dos.h>
struct student
{
char name[20];
char tel[20];
char qq[11];
char address[20];
char danwei[10];
}stu;
shuru()
{
printf("Qing Shu Ru Xing Ming(seimei):");
scanf("%s",&stu.name);
printf("%s",stu.name);
getch();
}
load()
{
printf("\t\t\tAddress book[jyuusyoroku]");
printf("\n\n");
printf("Loading.......");
sleep(1);
printf("OK\n");
sleep(1);
printf("Reading.......");
sleep(1);
printf("OK\n");
sleep(1);
system("cls");
}

main()
{
int a[7]={1,2,3,4,5,6,7};
int i;
load();
printf("\t\t\tAddress book[jyuusyoroku]");
printf(&quo

#include <stdio.h>
#include <dos.h>
struct student
{
char name[20];
char tel[20];
char qq[11];
char address[20];
char danwei[10];
}stu;

void shuru()
{
printf("Qing Shu Ru Xing Ming(seimei):");
scanf("%s",&stu.name);
printf("%s",stu.name);
getchar();
}

void load()
{
printf("\t\t\tAddress book[jyuusyoroku]");
printf("\n\n");
printf("Loading.......");
//sleep(1);
printf("OK\n");
//sleep(1);
printf("Reading.......");
//sleep(1);
printf("OK\n");
//sleep(1);
//system("cls");
}

main()
{
int a[7]={1,2,3,4,5,6,7};
int i;
load();
printf("\t\t\tAddress book[jyuusyoroku]");
printf("\n\n&