.h File that is Continously Updating to extract certain variables

Mar 10, 2013 at 10:49pm
Hello everyone,

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!
Mar 10, 2013 at 11:10pm
closed account (Dy7SLyTq)
you would need a .cpp file that did it
Mar 10, 2013 at 11:18pm
I am sort of new to C++ could you please explain more what a .cpp file is and how this would work. Thank you!
Mar 10, 2013 at 11:20pm
closed account (Dy7SLyTq)
its what you save a c++ program in
Mar 11, 2013 at 12:16am
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.
Last edited on Mar 11, 2013 at 12:17am
Topic archived. No new replies allowed.