C++: How can I update a variable

Printable View