How to define an enumerated type (enum) in C? - Stack Overflow

How to define an enumerated type (enum) in C? - Stack Overflow

瀏覽:917
日期:2026-04-21
I'm not sure what is the proper syntax for using C enums. I have the following code: enum {RANDOM, IMMEDIATE, SEARCH} strategy; strategy = IMMEDIATE; But this does not ......看更多