把参数的顺序调换一下就可以重载了 eg: int func(int a, int b, double c) int func(double c, int a, int b) ps:有一个缺点,参数的类型不能全是同一种