C++程序汉化问题(借鉴Qt)

之前初步学习了Qt的汉化,想知道Qt汉化能不能以及如何应用到非Qt的C++文件上呢,谢谢。

可以用这个本地化的方法来实现么?


 #include  <iostream>
#include <fstream>
#include <string>
#include <map>
using namespace std;
int main()
{
    wifstream in("1.txt");
    setlocale(LC_ALL, "");
wchar_ttemp;
map<wchar_t, int> cnt;
    while(!in.eof())
{
in >> temp;
        cnt[temp]++;
}
typedef map<wchar_t, int>::const_iterator map_iter;
for(map_iter it = cnt.begin(); it != cnt.end(); ++it)
    {
        wprintf(L"%lc ", it -> first);
        cout << it -> second << endl;
    }
    return 0;
}

qt是什么意思啊????!!!!