Mapping in C

boschow's Avatar, Join Date: Feb 2007
Go4Expert Member

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,
aVague's Avatar, Join Date: May 2007
Go4Expert Member
bad question
dont ask it, better read about global and local variables
DaWei's Avatar, Join Date: Dec 2006
Team Leader
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.