Joined
Last Seen
0 Reputation Points
Unknown Quality Score
No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.
0 Endorsements
Ranked #107.41K
Hello, I know that "break" is used to end a loop, but how does one exit a C++ console program, after the user enters a negative value, without using a loop? For example, I would like to do this: if (value == -1) { system("exit");} But the code above does … |