Is there a way to end my program without being in main? I want the user to be able to enter q to quit but in this instance I am not in main.
Is there a way to end my program without being in main? I want the user to be able to enter q to quit but in this instance I am not in main.
Use the exit() function