Easier compiling

Just wanted to share an easier way to compile with VS Code.
There’s an extension called Code Runner that ill create a play button at the top right. When you click the play button, it will compile and run the code for you!>

4 Likes

Create job finding this! Lots of students will benefit from this!

1 Like

Thank you @SwordmasterT I am trying that now! :slight_smile:

@SwordmasterT Here’s what happened when I hit the play button on our sample code.

Can you please help me to figure out what went wrong?

If you get an error, it’s not from the button, its from the compiler. In this case, it looks like g++ is not installed or not a command. Are you using Linux? If so, g++ is not used. Use gcc instead.

Privacy & Terms