enum7.c
来自「gcc-you can use this code to learn somet」· C语言 代码 · 共 16 行
C
16 行
// Yet Another testcase for signed/unsigned enums.// Build don't link:enum A { AA = 0, AB = 1};enum B { BA = -1, BB = 1};void set(int a);void set(long a);voidfoo(){ set(AA); // gets bogus error - why is this ambiguous set(BA); // when this is not amibguous}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?