1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768 |
-
- #if(0)
- #include <iostream>
- void func()
- {
- std::cout << "func的调用" << std::endl;
- }
- void func(int a )
- {
- std::cout << "func(int a )的调用" << std::endl;
- }
- void func(double a)
- {
- std::cout << "func (double a) 的调用" << std::endl;
- }
- void func(int a, double b)
- {
- std::cout << "func (int a, double b) 的调用" << std::endl;
- }
- void func(double a, int b)
- {
- std::cout << "func (double a, int b) 的调用" << std::endl;
- }
- int func(double a, int b)
- {
- std::cout << "func (double a, int b) 的调用" << std::endl;
- }
- int main()
- {
-
-
-
-
-
- func(3.14, 10);
- system("pause");
- return 0;
- }
- #endif
|