Đặng Thị Ngọc Diệp
New member
How do I run AC code in Linux terminal?
Answer
How to Compile and Run C/C++ program on Linux
Answer
How to Compile and Run C/C++ program on Linux
- #include
<stdio.h>
/* demo.c: My first C program on a Linux */ int main(void) { printf(“Hello! …
</stdio.h> - cc program-source-code.c -o executable-file-name.
- gcc program-source-code.c -o executable-file-name.
- ## assuming that executable-file-name.c exists ## make executable-file-name.