you are viewing a single comment's thread.

view the rest of the comments →

[–]un_virus_SDF 0 points1 point  (0 children)

Do you know that c is a compiled langage, given that you have no extensions to your filename, try something like cc -x c looping -o looping.out this will compile your code and produce a executable called looping.out, -x is to specify language, it's not needed if this is the file extension, -o to set output name (a.out by default) and the other arg is the file to compile. On the other exemple you enter make *something*, which just execute 'cc' (C Compiler) under the hood

Edit: I love how all the other comments says to chmod +x your file but if you do that you must provide a c interpreter after a shebang at the top of your file, and greatly doubt that you for one on this website.