I REMEMBER
This commit is contained in:
2
.gitignore
vendored
2
.gitignore
vendored
@@ -1 +1,3 @@
|
|||||||
**/*.sw*
|
**/*.sw*
|
||||||
|
**/*.gch
|
||||||
|
**/a.out
|
||||||
|
|||||||
5
c.d/helloworld.c
Normal file
5
c.d/helloworld.c
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
#include "helloworld.h"
|
||||||
|
|
||||||
|
void main() {
|
||||||
|
printf("hello world\n");
|
||||||
|
}
|
||||||
1
c.d/helloworld.h
Normal file
1
c.d/helloworld.h
Normal file
@@ -0,0 +1 @@
|
|||||||
|
#include <stdio.h>
|
||||||
8
c.d/run.sh
Normal file
8
c.d/run.sh
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
#! /bin/bash
|
||||||
|
|
||||||
|
set -e
|
||||||
|
set -o pipefail
|
||||||
|
set -u
|
||||||
|
|
||||||
|
gcc ./*.{h,c}
|
||||||
|
./a.out
|
||||||
Reference in New Issue
Block a user