3 ms·
How do you do escape sequences in C (or pretty much every other language)?
by dkersten 14y ago
How do you do escape sequences in C (or pretty much every other language)?
- kstenerud 14y agoprintf("Some message¥n"); DOS and Win9x were particularly disgusting: C:¥DIR¥SUBDIR¥README.TXT It's regarded more as a necessary evil than anything else. Any language featuring it prominently will be unlikely to achieve much popularity in Japan.
- eurleif 14y agoWhat does Ruby do?
- Someone 14y agoThe reason why that works is that it is not that the Japanese keyboard layout that lacks the backslash, but the Japanese character set. See (http://blogs.msdn.com/b/michkap/archive/2005/09/17/469941.aspx http://blogs.msdn.com/b/michkap/archive/2005/09/17/469941.as... for details) Also, in C, you can just type ??/ instead of backslash.
- dkersten 14y agoSo, as far as ANI is concerned, you could just do latch¥ - no problem ;-) though ugly.