找c++错的
程序代码:
#include<iostream> using namespace std; class Test { int x,y; public: Test(); void show() { cout<<x<<","<<y<<"|"<<endl; } ~Test(); }; Test::Test() { x=3; y=4; } int main(int argc,char *argv[]) { Test Ta; Ta.show(); return 0; }想不通 求指教