Remove template and instructions for C programs

This commit is contained in:
Ivan R. 2022-12-02 23:29:32 +05:00
parent 20b5f3e546
commit a3e0177f4e
No known key found for this signature in database
GPG key ID: 56C7BAAE859B302C
5 changed files with 0 additions and 34 deletions

View file

@ -1,14 +0,0 @@
all: lib.o main.o
gcc -Wall -o bin lib.o main.o
lib.o: lib.c
gcc -c -Wall lib.c
main.o: main.c
gcc -c -Wall main.c
run:
./bin
clean:
rm *.o bin

View file

@ -1 +0,0 @@
#include "lib.h"

View file

@ -1 +0,0 @@
#pragma once

View file

@ -1,5 +0,0 @@
#include "lib.h"
int main() {
return 0;
}

View file

@ -4,14 +4,6 @@
## How to run solutions ## How to run solutions
For programs written in C:
```bash
cd problems/random-problem
make
make run
```
For programs written in Rust: For programs written in Rust:
```bash ```bash
@ -28,11 +20,6 @@ ruby test.rb
## Solution structure ## Solution structure
For programs written in C:
- `lib.c` - the solution itself
- `main.c` - tests
For programs written in Rust: For programs written in Rust:
- `src/lib.rs` - solution and tests - `src/lib.rs` - solution and tests