If I have class variables that are changed as a program runs, and at a certain point I want them all back to default without restarting the whole program, how would I go about it?

You need to post some code. The most obvious solution is to write a function reset_my_class_variables() and to call it when it is needed.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.