How to create executable file of c or cpp program which can be open by double click in ubuntu ??
Asked
Active
Viewed 2,185 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
- 7
- 13
-
Comments are not for extended discussion; the conversation that was taking place here has been [moved to chat](http://chat.stackexchange.com/rooms/45921/discussion-on-answer-by-minigeek-create-executable-file-of-c-cpp-programs). – Thomas Ward Sep 26 '16 at 14:43