In Visual C++ you can set the character set to Use Unicode Character Set.
Which defines UNICODE and _UNICODE.
In Eclipse CDT is there anyway to accomplish the same effect?
In Visual C++ you can set the character set to Use Unicode Character Set.
Which defines UNICODE and _UNICODE.
In Eclipse CDT is there anyway to accomplish the same effect?
I think : Window -> Preferences -> General -> Workspace ..
The _UNICODE
/UNICODE
macro are using by Microsoft Visual C++ compiler only. So, it is not crossplatform way to add Unicode support to your programs.
Eclipse CDT use mingw, which is Windows port of GCC.
So, you can try this: http://site.icu-project.org/, or just use Qt framework - which have rich support for internationalization, and do most of job for you.
Hope this helps.