Thread: Error Handling and Header Files

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1
    Software Developer jverkoey's Avatar
    Join Date
    Feb 2003
    Location
    New York
    Posts
    1,905
    You have to make sure hello.c is being included in your project and that it is being compiled.


    To clarify: I mean included IN your project, not included in the source, but in your actual project, you should have hello.c with it

  2. #2
    Registered User
    Join Date
    Jan 2005
    Posts
    42
    How exactly do I include it in my "project"? I have the .c file in the same directory as the .h file. Do I somehow have to list for GCC all the files to be included?

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, 03:25 PM
  2. Linking header files, Source files and main program(Accel. C++)
    By Daniel Primed in forum C++ Programming
    Replies: 3
    Last Post: 01-17-2006, 11:46 AM
  3. Request for comments
    By Prelude in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-02-2004, 10:33 AM
  4. Using c++ standards
    By subdene in forum C++ Programming
    Replies: 4
    Last Post: 06-06-2002, 09:15 AM