C++ header

This is a discussion on C++ header within the C++ Programming forums, part of the General Programming Boards category; Hi guys First post, I am making a header file but it has loads of functions. Each function fits in ...

  1. #1
    Registered User bobbinator's Avatar
    Join Date
    Jul 2009
    Posts
    29

    Exclamation C++ header

    Hi guys
    First post,

    I am making a header file but it has loads of functions. Each function fits in a catagory like apples and bannanas. Is it worth having sepperate headders like one having apple related stuff and the other bannana related stuff?

    Sorry if it does not make sense

    Robin

  2. #2
    C++ Witch laserlight's Avatar
    Join Date
    Oct 2003
    Location
    Singapore
    Posts
    22,101
    Quote Originally Posted by bobbinator
    Is it worth having sepperate headders like one having apple related stuff and the other bannana related stuff?
    If you expect that someone might only use apple without using banana, or vice versa, then certainly yes.
    C + C++ Compiler: MinGW port of GCC
    Version Control System: Bazaar

    Look up a C++ Reference and learn How To Ask Questions The Smart Way

  3. #3
    Registered User bobbinator's Avatar
    Join Date
    Jul 2009
    Posts
    29
    Thumbs up thanks!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Checking array for string
    By Ayreon in forum C Programming
    Replies: 87
    Last Post: 03-09-2009, 04:25 PM
  2. Obtaining source & destination IP,details of ICMP Header & each of field of it ???
    By cromologic in forum Networking/Device Communication
    Replies: 1
    Last Post: 04-29-2006, 03:49 PM
  3. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM

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