Thread: Header File question

  1. #1
    Registered User
    Join Date
    Jun 2009

    Header File question


    I am working in eclipse CDT.
    I have a .c file in which I have written all my functions. That .c file is in a folder along with other files and I have added that folder in the directory.
    But when I am calling functions from that .c file, it gives error that "no source found for function."

    Is it that I have to create a .h file and then include that .h file neccessarily in my program??

    Any idea would be appreciated


  2. #2
    Registered User
    Join Date
    Jan 2007
    Euless, TX
    BINGO, you answered your own question!

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. A development process
    By Noir in forum C Programming
    Replies: 37
    Last Post: 07-10-2011, 10:39 PM
  2. Simple File encryption
    By caroundw5h in forum C Programming
    Replies: 2
    Last Post: 10-13-2004, 10:51 PM
  3. Making a LIB file from a DEF file for a DLL
    By JMPACS in forum C++ Programming
    Replies: 0
    Last Post: 08-02-2003, 08:19 PM
  4. header file question
    By unanimous in forum C Programming
    Replies: 1
    Last Post: 12-15-2001, 08:15 PM
  5. Need a suggestion on a school project..
    By Screwz Luse in forum C Programming
    Replies: 5
    Last Post: 11-27-2001, 02:58 AM