Reading/writing to the same file with multiple programs
So I am working on a project where I am using C++ and Adobe Flash to preform a simple simulation in C++ and display the results using Flash in real-time.
I have not actually started the project yet so I am looking for some guidance on where to begin. My current idea for integrating the 2 programs is to have a .txt file that the C++ program will continually write to and change and then the flash program will read from file and display the results of the simulation accordingly.
My question is is it possible to have 2 programs accessing the same file continuously like this? Or is there a better way to share information between the 2 programs?