Reputation
Next privilege 200 Rep.
See reduced ads
Badges
1 5
Impact
~1k people reached

  • 0 posts edited
  • 0 helpful flags
  • 11 votes cast
Aug
14
awarded  Popular Question
Oct
29
awarded  Notable Question
Jul
4
awarded  Popular Question
Feb
26
awarded  Scholar
Feb
26
accepted What is the C++ convention, if any, for naming to differentiate between structure types and other types?
Feb
26
comment What is the C++ convention, if any, for naming to differentiate between structure types and other types?
That brings up a good point. Wouldn't it be better instead of writing typedef short HFILE you could do #define HFILE short? And I am glad you mention that HFILE can be converted undesirably, that is a useful pitfall to be aware of. Are you also then implying that a structure will never be converted. And I am having trouble finding an example code where HFILE will be converted.
Feb
26
asked What is the C++ convention, if any, for naming to differentiate between structure types and other types?
Feb
24
awarded  Student
Jan
7
awarded  Supporter