re: Developing C++ with Visual Studio Code VIEW POST

FULL DISCUSSION
 

can someone help me please?
whenever I click at build and run, It shows error like permission denied and then says error at int main()

 

Hey! Can you give us some context? What OS are you using? Are the folder permissions correct?

 

Actually it was a problem with permissions. I am using Ubuntu 19.04 . The executable permission was not given.

I'm glad you got it solved! I'll take note of this to see if it is isolated to Ubuntu 19.04 or I should upload a fix, thank you for the info!

Actually. It was due to my own ignorance. I forgot about the file permissions in linux. All you need to do is add the executable permission using the chmod +x command.

code of conduct - report abuse