#include
using namespace std;
int func(int a,int b,int c)
{
return a+b+c;
}
int main(){
cout<<func(10,20,30)<<endl; return 0;
如果还不对,是不是因为exe还在运行没关掉
第一行
#include<iostream>
代码没有什么问题应该输出60
返回0,如果是调试运行,进程的返回值可能不是0