Hi! A beginner here. I've been dabbling in C programming for 1/2 a year now. I've been making a text adventure/IF game in C and it's going pretty well. But I have a a question about how to get a function to "remember" a integer value/s after the function has run all the way through?
The way I've maneuvered around this problem is to loop infinitly and have the exit from the loop be a function call and another function call to get back to the calling function and have intergers still intact. How can I do this in a better way?
Help would be much appreciated