3 ms·
Really? I'll have to check my paper copy at home, but Wikipedia seems to agree, with a quote from the standard: https://en.wikipedia.org/wiki/Wide_character#C.2
by kps 11y ago
Really? I'll have to check my paper copy at home, but Wikipedia seems to agree, with a quote from the standard: https://en.wikipedia.org/wiki/Wide_character#C.2FC.2B.2B https://en.wikipedia.org/wiki/Wide_character#C.2FC.2B.2B Maybe it was in C90 (ISO) but not C89 (ANSI)?
For trigraphs see the Rationale at http://www.lysator.liu.se/c/rat/b.html#2-2-1-1 http://www.lysator.liu.se/c/rat/b.html#2-2-1-1
- cbsmith 11y agoIt's entirely possible I'm misremembering, but I could swear it was in Amendment 1/C95, not in C90. I have this distinct memory about making jokes about how C95 and Windows 95 were both outdated technologies the day they were released. ;-) I thought C90 was essentially just a reformatting of C89. Interestingly, the ANSI C page agrees with me: https://en.wikipedia.org/wiki/ANSI_C#C95 https://en.wikipedia.org/wiki/ANSI_C#C95
- kps 11y agoAh, got it. C89 had wchar_t, defined in <stddef.h>, but <wchar.h> and <wctype.h> didn't show up until '95, so it wasn't very useful. Hence my vestigial memory of it being a prematurely standardized checkbox feature.