Compile and run simple c++ program


#1

I have a simple c++ program and can compile it from within the Jupyterlab terminal.
However, the resulting program (called ‘main’) does not have the execute bit set.
When I run ‘chmod a+x main’ there is no error but nothing happens.
Also tried ‘chmod 755 main’.

Is there a way to solve this?