feat: ✨ hello-world
This commit is contained in:
parent
644f83810e
commit
f8b61b1508
3 changed files with 11 additions and 0 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -29,6 +29,7 @@
|
||||||
*.dylib
|
*.dylib
|
||||||
|
|
||||||
# Executables
|
# Executables
|
||||||
|
*.bin
|
||||||
*.exe
|
*.exe
|
||||||
*.out
|
*.out
|
||||||
*.app
|
*.app
|
||||||
|
|
5
001-hello_world/main.c
Normal file
5
001-hello_world/main.c
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
#include <stdio.h>
|
||||||
|
|
||||||
|
int main() {
|
||||||
|
printf("Hello World\n");
|
||||||
|
}
|
5
run
Executable file
5
run
Executable file
|
@ -0,0 +1,5 @@
|
||||||
|
#!/bin/bash
|
||||||
|
gcc main.c -o main.bin
|
||||||
|
./main.bin
|
||||||
|
read input
|
||||||
|
clear
|
Loading…
Add table
Add a link
Reference in a new issue