http://zh.wikipedia.org/w/index.php?title=C%E8%AF%AD%E8%A8%80&variant=zh-tw#.E5.9F.BA.E7.A1.80.E6.95.B0.E6.8D.AE.E7.B1.BB.E5.9E.8B
struct {int a[3], b;} hehe[] = { [0].a = {1}, [1].a = 2 };
struct {int a, b, c, d;} hehe = { .a = 1, .c = 3, 4, .b = 5} // 3,4 是對 .c,.d 賦值的
字元串裡面,\u 支持 unicode 的字元
所以 printf scanf 的格式化串多支持了 ll / LL (VC6 里用的 I64) 對應新的 long long 類型。
除了已經有的 __line__ __file__ 以外,又支持了一個 __func__ 可以得到當前的函數名
增加和修改了一些標準頭文件, 比如定義 bool 的
C++
http://zh.wikipedia.org/w/index.php?title=C%2B%2B&variant=zh-tw
No comments:
Post a Comment