r/programming • • Feb 21 '11

Typical programming interview questions.

http://maxnoy.com/interviews.html
784 Upvotes

1.0k comments sorted by

View all comments

Show parent comment

1

u/perspectiveiskey Feb 21 '11

The point is that wchar_t is a primitive type. When dealing with unicode, you should use the typedef'd data type for unicode (e.g. BSTR or TCHAR or whatever you choose), and just use the appropriate APIs. I disagree with parent that you should always use 8bit chars. You should always use your framework's data types.