What's the point?
#include <iostream>
using namespace std;
int main()
{ int max(int x,int y);
int g,h,k;
cin>>g>>h;
k=max(g,h); ←
cout<<"max="<<k<<endl;
return 0;
}
int max(int x,int y);
{int z; ←
if(x>y) z=x;
else z=y;
return(z);
}
error C2447: missing function header (old-style formal list?)
using namespace std;
int main()
{ int max(int x,int y);
int g,h,k;
cin>>g>>h;
k=max(g,h); ←
cout<<"max="<<k<<endl;
return 0;
}
int max(int x,int y);
{int z; ←
if(x>y) z=x;
else z=y;
return(z);
}
error C2447: missing function header (old-style formal list?)
...全文
相关推荐
2021届高考英语一轮复习 SBⅡ Units 1-2精品学案 大纲人教版.doc
10. what if...? 结构 "What if…" 用来提出假设,询问如果某个情况发生会发生什么。
unit+1My+classroom+第二课时.ppt
A: Let’s clean the window. - A: What’s this? B: It’s a picture.
英语课堂评价用语.doc
- "What’s the date today?"(今天几月几号?) - "How is the weather today? / What’s the weather like today?"
新标准小学英语句型汇总.doc
**询问时间**:What’s the time, please? It’s half past five. 时间的询问与回答,有助于提升日常生活中的沟通能力。19.
外贸跟单常用英语口语.doc
用于了解货物的包装体积,例如0.07M3 (zero point zero seven cubemeter)。3. **询价**:What’s the best/last price?


