Sharing resources between programs

Discussion in 'C' started by eklavya8, Jan 14, 2008.

Thread Status:
Not open for further replies.
  1. eklavya8

    eklavya8 New Member

    Joined:
    Jan 14, 2008
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    0
    Hi
    This question is related to Systems Programming

    Problem-
    Create a linked list with 5 nodes -
    Size of nodes 10K,20K,30,40,50K
    Assume node1 and node3 load with program 1 and 2 store the new program in the following size 60K.
    Using Best fit and first fit method.

    My doubts-
    1-How do u make a program access data in another program.( I know global vars come in somewhere but don't know how to link the programs )

    Any sort of help will be appreciated!
    cheers!

    PS-i am using a unix system and a gcc compiler.
    A program is a separately executable piece of code
     
  2. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,345
    Likes Received:
    382
    Trophy Points:
    83
Thread Status:
Not open for further replies.

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