How to create executable file of c or cpp program which can be open by double click in ubuntu ??
1 Answer
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
-
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