Aug-13-2020, 06:46 AM
How do you run the exe? If you just click on it, it will close the window immediately after printing the last line and you just don't see it.
Open cmd, run the exe via command line.
or add a line to wait for user input before finishing the execution.
on a side note - you left that repeating code...
Open cmd, run the exe via command line.
or add a line to wait for user input before finishing the execution.
on a side note - you left that repeating code...
If you can't explain it to a six year old, you don't understand it yourself, Albert Einstein
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs
How to Ask Questions The Smart Way: link and another link
Create MCV example
Debug small programs