难道你的书上的代码在main前面不是int?
2011-07-31 21:33
2011-07-31 21:36
2011-07-31 21:37
2011-07-31 21:40
2011-07-31 21:42
程序代码:#include <stdio.h>
#include <stdlib.h>
int main(void) {
printf("Hello c!\n");
system("pause");
return 0;
}
程序代码:#include <stdio.h>
int main(void) {
printf("Hello c!\n");
getchar();
return 0;
}
程序代码:#include <stdio.h>
#include <conio.h>
int main(void) {
printf("Hello c!\n");
printf("Press any key to exit.");
getch();
return 0;
}

2011-07-31 21:48
2011-07-31 21:53
2011-07-31 22:03
2011-07-31 22:08
2011-07-31 22:21