#include <iostream>
#include <windows.h>
#include <string>
using namespace std;
int main(int argc, char *argv[])
{
string s;
LCID localeID = GetUserDefaultLCID();
unsigned short lang = localeID & 0xFF;
switch(lang)
{
case LANG_CHINESE:
s = "中文";
break;
case LANG_ENGLISH:
s = "English";
break;
default:
s = "Unknow";
break;
}
cout << s << endl;
return 0;
}#include <iostream>
#include <windows.h>
#inclu