logoalt Hacker News

NetMageSCWtoday at 6:42 PM1 replyview on HN

Having to use macros for literal strings in your code is just incredibly stupid of Microsoft and/or C++.


Replies

gzreadtoday at 7:22 PM

How do Linux and Java do it, when you want to compile your program in both 16-bit char and 8-bit char mode? Oh that's right, you don't.

You can pick one or the otherfor Windows too, so don't ask me why it's done that way. It was originally so you could compile for both the new hotness Unicode, and the old compatible ASCII.

show 1 reply