#include "stdafx.h"
#include <iostream>
#include "stdafx.h"
using namespace std;
//function name overloading 函数名重载 同个函数名,不同的参数个数和参数类型
// 名字装饰 name decoration
// int maximum(int x, int y);
// float maximum(float x, float y); // 声明declaration
// float maximum(float x, float y, float z);
int maximum(int x, int y) {
return x >= y ? x : y;
}
int main(){
int iMax = 0;
iMax = maximum(3,77);
cout << "iMax:" << iMax << endl;
return 0;
}