??? 08/01/07 05:46 Read: times |
#142566 - The common use of CAPs in C Responding to: ???'s previous message |
The common use of CAPITAL letters in C is for defined constants. Not tables (arrays) that are initialized to constants. So following what has become rather conventional practice it would not be appropriate to use CAPs to name the look up table in the code that Erik showed.
- Michael Karas |
Topic | Author | Date |
A Simpler Way? | 01/01/70 00:00 | |
Logical AND ? | 01/01/70 00:00 | |
Shift? | 01/01/70 00:00 | |
I Agree. | 01/01/70 00:00 | |
Another Option | 01/01/70 00:00 | |
the simplest way | 01/01/70 00:00 | |
capitals | 01/01/70 00:00 | |
I copyued what the OP used | 01/01/70 00:00 | |
The common use of CAPs in C | 01/01/70 00:00 | |
totally agree, however | 01/01/70 00:00 | |
Why are you rambling about variables... | 01/01/70 00:00 | |
not to me | 01/01/70 00:00 | |
Variable capitalisation? | 01/01/70 00:00 | |
'code 'never is | 01/01/70 00:00 | |
Did not think it mattered. | 01/01/70 00:00 | |
Code modifier | 01/01/70 00:00 | |
both | 01/01/70 00:00 | |
Use both | 01/01/70 00:00 | |
C++ ? | 01/01/70 00:00 | |
Mixed | 01/01/70 00:00 | |
Extensions | 01/01/70 00:00 | |
Experience | 01/01/70 00:00 |