#include <iostream.h>
class Sample
{
    int x,y;
    public:
    Sample(){x=y=0};
    Sample(int a,int b){x=a;y=b};
    void disp()
    {    cout<<"x="<<x<<"y="<<y<<endl;
    }
};
void main()
{
    Sample s(2,3), *p=&s;
    p->disp();
}上面这段代码在VC++中提示ERROR:
statemnet missing!
请那位指点一下
谢谢。
新手上路!