Code Standards

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 ...

  1. #1
    Registered User
    Join Date
    Aug 2007
    Posts
    2

    Code Standards

    Couple questions on standards:
    1. Do typedefs or enums have to always be declared before externs?
    2. Do constants have to always be uppercase?

  2. #2
    Registered User
    Join Date
    Feb 2006
    Posts
    54
    No and No.
    Both are good style though.

  3. #3
    Registered User
    Join Date
    Aug 2007
    Posts
    2
    Thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Enforcing Machine Code Restrictions?
    By SMurf in forum Tech Board
    Replies: 21
    Last Post: 03-30-2009, 08:34 AM
  2. Obfuscated Code Contest: The Results
    By Stack Overflow in forum Contests Board
    Replies: 29
    Last Post: 02-18-2005, 05:39 PM
  3. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  4. Interface Question
    By smog890 in forum C Programming
    Replies: 11
    Last Post: 06-03-2002, 06:06 PM
  5. Replies: 0
    Last Post: 02-21-2002, 06:05 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21