So here's a pretty basic question. How do I access a file using C++? I want to be able to have the text file typed into the window of the program. I want to be able to write a string variable to a file, too.
And another question, maybe not as basic: How do I put a timer function into a program? Every n seconds I want the program to check if a variable has changed.