Hoàng Minh An
New member
How do I code C in Linux?
Answer
Create a file called demo.c using a text editor such as vi, emacs or joe:
Answer
Create a file called demo.c using a text editor such as vi, emacs or joe:
- #include<stdio.h> /* demo.c: My first C program on a Linux */ int main(void) { printf(“Hello! …
- cc program-source-code.c -o executable-file-name.
- gcc program-source-code.c -o executable-file-name.