原帖由 [bold][underline]DG中专生[/underline][/bold] 于 2007-12-7 14:01 发表 [url=http://bbs.bc-cn.net/redirect.php?goto=findpost&pid=1136101&ptid=190984]

[/url]
#include
#include
using namespace std;
int main()
{
class a{
public:
int b(const int c,const int d)
{
return
c>b?c:d;
}
};
int g;
int e=10,f=11;
cout<<g.b(e,f)<<endl;
红的地方改为: c>d 和 a g;