Thread: Question on where to #include my library

  1. #16
    Registered User
    Join Date
    Apr 2002

    Eh, I dont think this forum made any sense to me!

    eh, why dont you just try doing -->

    #ifndef GRAPH_HPP
    #include <graph.hpp>
    #define GRAPH_HPP

    <-- the odds of this working are slim to none, but it worked for me 1ce, And I think I did it a little differently, oh well cant heart!

  2. #17
    Registered User WebSnozz's Avatar
    Join Date
    Oct 2001
    I believe that will work but you would have to suround the file with the if define in every file you included it in
    Cats have no butt cheeks.
    If one farted, then it would make a flute noise.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Include some function form library
    By thepolo in forum C Programming
    Replies: 4
    Last Post: 05-24-2009, 05:11 PM
  2. 2d game
    By JordanCason in forum Game Programming
    Replies: 5
    Last Post: 12-08-2007, 09:08 PM
  3. Simple question, LINE_MAX
    By rkooij in forum C Programming
    Replies: 6
    Last Post: 03-14-2006, 07:03 AM
  4. Newbie Question: Can't use #include <string>
    By JohnnyCat in forum C++ Programming
    Replies: 7
    Last Post: 01-07-2005, 01:51 PM
  5. Question with Winamp Library
    By moonwalker in forum Tech Board
    Replies: 3
    Last Post: 08-07-2003, 08:08 PM