I need to write a C++ program, that extracts certain variables, x y z, from a file that is continuously being updated x y z. These variables are going to be used to recalculate a new answer.
My question is to see if it is possible to have an include .h file that is always being updated so that I can extract these three variables from it, and always have the newest venison of each variable, so that the answer to the equation is always the newest updated. Is this possible? Should I use fopen or fwrite to do this. Thank you for your help and time!
Well I was wondering how I would incorporate the file that is always being updated in to my .cpp or C++ program. If the .h file is able to have a file included that is always being updated with new variables.