0

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

1 Answers1

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

minigeek
  • 1,071