Couple questions on standards:
1. Do typedefs or enums have to always be declared before externs?
2. Do constants have to always be uppercase?
This is a discussion on Code Standards within the C Programming forums, part of the General Programming Boards category; Couple questions on standards: 1. Do typedefs or enums have to always be declared before externs? 2. Do constants have ...
Couple questions on standards:
1. Do typedefs or enums have to always be declared before externs?
2. Do constants have to always be uppercase?
No and No.
Both are good style though.
Thanks!