#include <stdio.h>
int main(void)
{
printf("hello, world!\n");
system("pause");
return 0;
}
为什么不行, 前两天同样的东西还能运行... 今天就不行了
把那天的复制再运行也会出现同样的错误信息,错误提示如下
in function 'int main()':
'system' undeclared(first use this function)
(Each undeclared identifier is reported only once for each function it appears in.)
谢谢回答~
參考答案:#include <stdlib.h>