#BASIC MAKEFILE FOR C PROGRAM CODE#This tells GCC to take the hello.c input file and preprocess compile assemble link it into an executable file with the name hello_program.Ĭongrats, you're now an expert! Looks pretty easy, right?Īfter your program runs, you should commit your source code to your personal repository: (GCC stands for the "GNU Project C and C Compiler") unix> gcc hello.c -o hello_program Printf("Hallo, welt!\n") /* German for "hello, world" */Ĭompile it and run using GCC, an open-source compiler. Use gedit to edit the file hello.c: unix> gedit hello.c
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |