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
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.