I have a .exe application that spouts some data on the console in real time.
The data has the following format: (double X)%f(double Y)%f(double Z)
I want to create a simple c++ program that will open the .exe file and read the data being spouted in the console and reproduce the data in the console of my program.
I tried using a pipe between the .exe file and my own program but couldn't seem to get the data to flow smoothly in real time. I was getting "bursts" of several lines of data grouped together at a time.
Does anyone know how to approach such problem in general?