How to create executable file of c or cpp program which can be open by double click in ubuntu ??
Asked
Active
Viewed 2,199 times
1 Answers
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
-
Comments are not for extended discussion; the conversation that was taking place here has been moved to chat. – Thomas Ward Sep 26 '16 at 14:43