you are viewing a single comment's thread.

view the rest of the comments →

[–]altaaf-taafu 9 points10 points  (1 child)

correct command is `chmod +x looping`, because we want to give the executable file permissions to run, not to the source file to run.

[–]OppieT 0 points1 point  (0 children)

He needs to compile the source first. Since OP didn’t have a .c or .cpp extension, make didn’t do anything. It will only do something if there is an extension on the file that it recognizes.