Thread: How Big is Too Big

  1. #1
    Registered User
    Join Date
    Aug 2008
    Posts
    67

    How Big is Too Big

    When should I start breaking up a file and putting similar functions in their own headers? How big is too big?

  2. #2
    and the Hat of Guessing tabstop's Avatar
    Join Date
    Nov 2007
    Posts
    14,336
    When it starts to become annoying.

  3. #3
    Registered User
    Join Date
    Jan 2008
    Posts
    45

  4. #4
    Registered User Tonto's Avatar
    Join Date
    Jun 2005
    Location
    New York
    Posts
    1,465
    Failure will return

    Code:
    #if !defined (INVALID_FILE_ATTRIBUTES)
    #define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
    #endif

  5. #5
    Kernel hacker
    Join Date
    Jul 2007
    Location
    Farncombe, Surrey, England
    Posts
    15,677
    Quote Originally Posted by Tonto View Post
    Failure will return

    Code:
    #if !defined (INVALID_FILE_ATTRIBUTES)
    #define INVALID_FILE_ATTRIBUTES ((DWORD)-1)
    #endif
    Surely, this belongs in the "How can to figure out if a directory exists" thread?

    --
    Mats
    Compilers can produce warnings - make the compiler programmers happy: Use them!
    Please don't PM me for help - and no, I don't do help over instant messengers.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Any significant Big Endian Machines?
    By abachler in forum Tech Board
    Replies: 9
    Last Post: 01-29-2009, 01:53 PM
  2. system() too big?
    By fanoliv in forum C Programming
    Replies: 6
    Last Post: 06-21-2006, 01:26 PM
  3. Big and little endian
    By Cactus_Hugger in forum C Programming
    Replies: 4
    Last Post: 10-12-2005, 07:07 PM
  4. Big Buttons in IE 6
    By moonwalker in forum Tech Board
    Replies: 2
    Last Post: 07-13-2003, 07:04 PM
  5. Looking for some big C/C++ projects
    By C-Dumbie in forum C Programming
    Replies: 5
    Last Post: 09-16-2002, 12:18 AM