Hello,
I use the following source code to get the os Language:
int getOsLanguage(string& strOsLanguage){
char* strLang;
string strOsLanguage
size_t new_size = 0;
setlocale(LC_ALL,"");
strLang = setlocale(LC_ALL,0);
if(strLang == 0)
return 1;
strOsLanguage.assign(strLang);
return 0...
hello,
I would like to know if there are a method on Sun Solaris that allow to get the OS default language. Moreover, if it exists is the identifiers of each language are the same on all OS?
Thanks for help.
S.
Hello,
I would like to have the name of C++ Unix methods that allow to:
- get the system date,
- get the user login name,
- get the IP address,
- get the serial number of the network card,
- get the host ID.
Thanks for help.
S.
Hello,
I am trying to compile under SunOS5.0 and i have the following error:
"...toto.cpp",line 100:Error: __builtin_va_alist is not defined
Is anybody can help me?
Thanks
Samprayoga
Hello,
Is anybody can give me a example of CC command to compile a .cpp file wich need toto.h, titi.h and tata.lib to compile than link.
Thanks for help.
S
I have the following error for this code:
_configDic.insert(make_pair (buffer1,-1));
(_configDic type is map<string,int>)
Error Could not find a match for std::map<std::basic_string<...and so on...
Is anybody can help me?
Thanks
I am migrating a code that i have developped under VC++7.0 to Solaris OS. When i compile my source i have the following
error:
Error : The name tm is ambiguous, tm and std::tm.[sad]
In my source i use a method that has the following prototype
:
void formatDateHour(struct tm* local,string&...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.