Thread: Making a header file(something I dont get)

  1. #16
    Registered User
    Join Date
    Sep 2005
    wow this really helped
    Last edited by lilhawk2892; 08-29-2006 at 08:04 PM.

  2. #17
    Its hard... But im here swgh's Avatar
    Join Date
    Apr 2005
    I am glad we could help - remeber practise makes perfect.

    Once you get to understand how to create and link your own header files, you can organise
    large projects much better, and not have to bung all the code in the one file. This makes it much easier to maintain and organise, and of course, other people will be able to find functions. classes better.

  3. #18
    Registered User
    Join Date
    May 2006
    <stdio.h> and <iostream> are the c and c++ versions of console output. You probably only want to use one of those and not both.

  4. #19
    Frequently Quite Prolix dwks's Avatar
    Join Date
    Apr 2005
    Or at least use the C++ namespace version, <cstdio>. (That applies for all the standard C header files, like <time.h> -> <ctime>.)

    Seek and ye shall find. quaere et invenies.

    "Simplicity does not precede complexity, but follows it." -- Alan Perlis
    "Testing can only prove the presence of bugs, not their absence." -- Edsger Dijkstra
    "The only real mistake is the one from which we learn nothing." -- John Powell

    Other boards: DaniWeb, TPS
    Unofficial Wiki FAQ:

    My website:
    Projects: codeform, xuni, atlantis, nort, etc.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Precompiled header question
    By donglee in forum C++ Programming
    Replies: 13
    Last Post: 01-22-2009, 01:23 AM
  2. IP header "total length" vs. packet size
    By MK27 in forum Networking/Device Communication
    Replies: 2
    Last Post: 01-04-2009, 07:45 AM
  3. class header confusion
    By te5la in forum C++ Programming
    Replies: 2
    Last Post: 07-22-2008, 02:39 PM
  4. Tutorial review
    By Prelude in forum A Brief History of
    Replies: 11
    Last Post: 03-22-2004, 09:40 PM
  5. Replies: 6
    Last Post: 04-02-2002, 05:46 AM