0

How to create executable file of c or cpp program which can be open by double click in ubuntu ??

0

1 Answer 1

0
 chmod u+x <output file>

Or chmod +x output_file

Eg.

 chmod u+x ./a.out

Tip :Fat and ntfs partion wont support file permissions ,just copy the file to the home folder or desktop and try again

1
  • Comments are not for extended discussion; the conversation that was taking place here has been moved to chat.
    – Thomas Ward
    Sep 26, 2016 at 14:43

Not the answer you're looking for? Browse other questions tagged .