#include
using namespace std;
void func()
{
cout << "无参数的func" << endl;
}
void func(double t)
{
cout << “有参数” << endl;
}
void test01()
{
func(1.11);
}
int amain(int argc, int argv[])
{
test01;
getchar();
return 0;
}
#include
using namespace std;
void func()
{
cout << "无参数的func" << endl;
}
void func(double t)
{
cout << “有参数” << endl;
}
void test01()
{
func(1.11);
}
int amain(int argc, int argv[])
{
test01;
getchar();
return 0;
}