I cant execute my program from shell console

image
i dont know why but this appears when i try to execute my program in shell console and i dont know how to get the permissions either,so i wonder if anyone could pls help me(Im on c++ if that matters).

1 Like

Try: chmod 777 main.cpp, that should grant everyone “execute” permissions.

1 Like

you need to compile the cpp file … it does not run like that

1 Like

run this: make -s; ./main

2 Likes