DEV Community

loading...

Discussion on: Developing C++ with Visual Studio Code

Collapse
arby3k profile image
Arbab Ahmed

I can't seem to figure out why I keep getting the following error when trying to run just the "hello world" project Easy C++ makes.

"The terminal process terminated with exit code: 1
Terminal will be reused by tasks, press any key to close it."

Collapse
abhisingh127 profile image
abhisingh127

I get the same error

Collapse
pianocomposer321 profile image
pianocomposer321

I think that's because the template that Easy C++ Projects makes doesn't include a "return 0" statement, so the shell never knows that it exited successfully. I prefer C/C++ Project Generator to Easy C++ Projects, and would reccomend trying that.