my doubt

Discussion in 'C' started by rafeek610, Sep 24, 2010.

  1. rafeek610

    rafeek610 New Member

    Joined:
    Sep 24, 2010
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    how i can have to include a file into anther c program and how to compile and run that program inside that c file also how i can have to get the address and values of variables that used inside that included file.....


    plz help me
     
  2. jimblumberg

    jimblumberg New Member

    Joined:
    May 30, 2010
    Messages:
    120
    Likes Received:
    29
    Trophy Points:
    0
    You should only '#include' header files, NOT '.c' files. '.c' files should be added to your makefile or project to be linked into your program.

    Jim
     
    rafeek610 likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice