Y
Ya Shou
Hello, friends.
I read some open source c program code, found a problem that let me doubt.
All those programs are using macros to define constants, and did not use an enum to achieve, but I think in the enumeration constants is very convenient.
Enumeration defines constants used in c++, but not seen any in c, why?
Thank you.
---- ---- ---- ----
Ya Shou (@54c3)
54c3.blogspot.com
I read some open source c program code, found a problem that let me doubt.
All those programs are using macros to define constants, and did not use an enum to achieve, but I think in the enumeration constants is very convenient.
Enumeration defines constants used in c++, but not seen any in c, why?
Thank you.
---- ---- ---- ----
Ya Shou (@54c3)
54c3.blogspot.com