class A {

private: int a;
private: char x;


public:void function1 () {

}


};


解決方案
在這個範例中,類別名稱 'A' 太短