E
Exits Funnel
Hello,
I've inherited a bunch of code which was written on windows and makes
frequent calls to _wtol( ) which converts a 2 byte char array to a long
integer. I'm pretty sure it is a Microsoft extension. I'm porting the
code to Linux (g++) and I can't figure out how to replace it. It seems
I should be able to use the std::string class to transcode from wide
chars to chars and use atol( ) but I can't seem to make it work. If
anyone has any thoughts I'd really appreciate it. Thanks in advance.
-exits
I've inherited a bunch of code which was written on windows and makes
frequent calls to _wtol( ) which converts a 2 byte char array to a long
integer. I'm pretty sure it is a Microsoft extension. I'm porting the
code to Linux (g++) and I can't figure out how to replace it. It seems
I should be able to use the std::string class to transcode from wide
chars to chars and use atol( ) but I can't seem to make it work. If
anyone has any thoughts I'd really appreciate it. Thanks in advance.
-exits