cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
General C++ Programming
how to pass data betwwen two programs
how to pass data betwwen two programs
Dec 15, 2009 at 4:28am UTC
vijkrr
(86)
hi
i want to know how two different programs can communicate message between each other?
assume i've a.cpp, it is having 2 STL Maps,
from b.cpp i want to get the values in that STL Maps.
How it is possible. a.cpp and b.cpp are two different instance running in the same machine.
Kindly help me in this..
Thanks in advance..
Dec 15, 2009 at 7:06am UTC
manojr
(19)
Depends on which OS u r using? In Linux the simplest way is to use named pipes.
Dec 15, 2009 at 9:15am UTC
vijkrr
(86)
i'm using Linux only.. when i go through the google, there are two ways one is named pipes and second one is message queues.Can any one explain or give some usefull example to gothrough. i want to share more than 5MB of data.
Dec 15, 2009 at 12:10pm UTC
karvoyno
(8)
you can look and shared memory idea from IPC ... google "shared memory example". It is not difficult
Topic archived. No new replies allowed.