Image is showing that when i used terminal to run the code, it wont run. code is running perfectly in output section, opened vs code after a month and shows this type of output in terminal
CodePudding user response:
You're just compiling the code, not running it. To run the code, type the following:
./exe_name.exe
..or in your case:
./tut4.exe
./tut5.exe
If you're using a mac machine, just replace .exe
with .out