1. We have moved from vBulletin to XenForo and you are viewing the site in the middle of the move. Though the functional aspect of everything is working fine, we are still working on other changes including the new design on Xenforo.
    Dismiss Notice

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