1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Mapping in C

Discussion in 'C' started by boschow, May 14, 2007.

  1. boschow

    boschow New Member

    Joined:
    Feb 22, 2007
    Messages:
    32
    Likes Received:
    0
    Trophy Points:
    0
    Hi,

    is mapping used for linking two program's variables. I mean if i have program A with variable a1, and program B with variable a1. How do i know that the change of variable in program A also occurs in program B and the change of variable in program B also occurs in program A. Is this what is mapping used for ? If yes, what is the easyest way to "map" variables? What is the moust efficient way to write this tipe of program?

    Thanks for your time and help
    Best Regards,
    BoSCHoW
     
  2. aVague

    aVague New Member

    Joined:
    May 2, 2007
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    0
    Occupation:
    forex
    bad question
    dont ask it, better read about global and local variables
     
  3. DaWei

    DaWei New Member

    Joined:
    Dec 6, 2006
    Messages:
    835
    Likes Received:
    5
    Trophy Points:
    0
    Occupation:
    Semi-retired EE
    Location:
    Texan now in Central NY
    Home Page:
    The question has nothing to do with variable scope. Shared memory is one form of interprocess communication, and is not a language feature. IPC is entirely implementation dependent. You'll need to Google for your particular platform and OS.
     

Share This Page