Re: enum-type anonymous structs



andreyvul wrote:

I used structs so that I could namespace constants, namely error
codes.

It has presumably become apparent to you that you can't do
this in C; you're essentially stuck with naming conventions.
Just pick good names and wash thoroughly and you'll be OK.

--
Preprocessor Hedgehog
"Who do you serve, and who do you trust?" /Crusade/

.



Relevant Pages

  • Re: Thoughts about Python
    ... > You're right that naming conventions in Python ... > leave something to be desired, but we're stuck with many of them ... > the implementation from one to the other without affecting client ... How can you change File to be just a function safely? ...
    (comp.lang.python)
  • Help with theorem proof
    ... Codes and Finite Fields", OUP 1992. ... there must be a prime r for which the highest power x=r^k dividing m is ... book without trouble, but I am stuck on this one. ...
    (sci.math)
  • Re: Can you help a NEWBIE please
    ... Dave Peterson wrote: ... > But if all the codes to keep are length 2 and all the codes to ignore are not ... I have 2 Columns, TransactionID and ... Now this is where I am getting stuck. ...
    (microsoft.public.excel.misc)
  • Re: Comparing/Matching two columns
    ... I am stuck with a problem. ... I need to compare two columns. ... Sheet2 is the name of the sheet where you put all possible ZIP codes ... in column A and the correspoonding Street names in column B. ...
    (microsoft.public.excel.worksheet.functions)
  • Re: Can you help a NEWBIE please
    ... But if all the codes to keep are length 2 and all the codes to ignore are not ... flub wrote: ... Now this is where I am getting stuck. ... > a TransactionCode of T or H this needs to be changed to either a "AA" ...
    (microsoft.public.excel.misc)