#2
qq4671019472012-01-20 20:16
回复 楼主 cachel
|
#include <iostream>
class cachel
{
public;
int x;
int y;
void output()
{
cout<<x<<endl<<y<<endl;
}
};
void main()
{
cachel pt;
pt.x=2;
pt.y=3;
pt.output();
}