在开头加上#include <stdlib.h>
并且在main函数的末尾加上 system(“pause”);
如果有 return ;
那么加在 return ; 的前面。
就像这样
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("hello word!");
在开头加上#include <stdlib.h>
并且在main函数的末尾加上 system(“pause”);
如果有 return ;
那么加在 return ; 的前面。
就像这样
#include <stdio.h>
#include <stdlib.h>
int main()
{
printf("hello word!");