使用unicode

 

#include <iostream>
class 我的类
{
public:
    我的类(int 我的初始化变量){我的成员变量 = 我的初始化变量;}
    ~我的类(){}
    int 我的成员变量;
    void 打印我的变量(){std::cout<<我的成员变量<<std::endl;};
};

int main()
{
    我的类 我的实例(1);
    我的实例.打印我的变量();
    return 0;
}
posted @ 2012-04-27 14:01  嗷嗷  阅读(194)  评论(1编辑  收藏  举报