c语言程序题
如下图所示,错误是什么? 变量max和函数maxfun没有定义 #include<stdio.h>#include<math.h>
{
int a,b;
printf("输入两个整数:");
scanf("%d%d",&a,&b);
max=maxfun(a,b);
printf("这两个整数中最大的是:%d\n",max);
return 0;
}
C:\Users\Administrator\Desktop\Cpp1.cpp(3) : error C2447: missing function header (old-style formal list?)
Error executing cl.exe.
怎么加头文件?
页:
[1]