为什么连编译都通不过????
#include "stdafx.h"
#include<iostream.h>
class AAA
{
public:
void MyCout()
{
cout<<"AAA::none\n";
}
void MyCout(int i)
{
cout<<"AAA::int"<<i<<endl;
}
};
class BBB
{
public:
void MyCout()
{
cout<<"BBB::none\n";
}
};
int main(int argc, char* argv[])
{
int j=10;
BBB test;
test.MyCout(j);
return 0;
}