Skip to content
Discussion options

You must be logged in to vote

Have you not saved your file? It's complaining about not finding a main method and it reads the file from disk.

Also, you may need a tasks.json. You can try using the Debug C/C++ option in the top right of the file (it seems like you may be using g++ directly from the command line).

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant