Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Mapping in C (http://www.go4expert.com/forums/mapping-in-c-t4296/)

boschow 14May2007 14:31

Mapping in C

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 14May2007 17:33

Re: Mapping in C
bad question
dont ask it, better read about global and local variables

DaWei 14May2007 17:44

Re: Mapping in C
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.

All times are GMT +5.5. The time now is 19:31.