so no code to go off, but how would you replace a line in a console application in cpp. so instead of making a new line, you replace the text without creating a new line. string toggle = "OFF";
printf("TOGGLE: %s", toggle);//an if statement changes toggle but never changes.
should i be looping?
example:
Toggle: ON //Instead of making a new line saying...
Toggle: OFF // how could i replace the Toggle: ON to say toggle off when i toggle off.