https://github.com/octopus773/rustbsq
Reproducing a C school project in Rust. In order to familiarise myself with Rust
https://github.com/octopus773/rustbsq
Last synced: 10 months ago
JSON representation
Reproducing a C school project in Rust. In order to familiarise myself with Rust
- Host: GitHub
- URL: https://github.com/octopus773/rustbsq
- Owner: Octopus773
- Created: 2022-05-20T09:30:30.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2022-05-28T21:42:20.000Z (about 4 years ago)
- Last Synced: 2025-02-05T14:47:34.499Z (over 1 year ago)
- Language: Rust
- Size: 26.4 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# RustBsq
Reproducing a C school project in Rust. In order to familiarise myself with Rust
The program works and is finished.
### What it is doing ?
It's a simple program to train on a new language like the famous todo-list project
It's job is to find the largest square in the file given as parameter and print the same file with the largest square fund with it
#### Exemple:
```bash
$ ~ > cat map1010
10
.o.o...o..
.o..o.o.oo
..o....o..
....o....o
.o...o....
....o.....
..o..o....
.......o..
oo.o......
..o....o..
$ ~ > ./bsq map1010
.o.o...o..
.o..o.o.oo
..o....o..
....o.xxxo
.o...oxxx.
....o.xxx.
..o..o....
.......o..
oo.o......
..o....o..
```
Notice the square of `x` in the print of the bsq program