mirror of
https://github.com/tiennm99/c-plus-plus.git
synced 2026-10-12 16:15:12 +00:00
27 lines
924 B
Markdown
27 lines
924 B
Markdown
# c-plus-plus
|
|
|
|
Assorted small C++ hobby projects and experiments.
|
|
|
|
## Contents
|
|
|
|
| Folder | Description |
|
|
|--------|-------------|
|
|
| `Dai So Tuyen Tinh/` | Linear algebra exercises (matrices, operations) |
|
|
| `Project/1` | Spiral matrix — find max element and its index in a spiral-traversed NxN grid |
|
|
| `Project/2` | Spiral matrix rotation — generate and rotate an NxN spiral pattern |
|
|
| `Project/3` | Fraction arithmetic — struct-based fraction type with basic operations |
|
|
| `Project/4` | Spiral line drawing — print individual rows of a spiral pattern |
|
|
| `Project/5` | Pascal's triangle — build and display an NxN Pascal matrix |
|
|
| `qtcreator/` | Assorted QtCreator projects (2019) |
|
|
| `giaitri-191102/` | Old hobby project from 2019-11-02 (`gen.cpp`, `gt.cpp`) |
|
|
|
|
Open any folder in your C++ IDE or compile with:
|
|
|
|
```bash
|
|
g++ <file>.cpp -o app && ./app
|
|
```
|
|
|
|
## License
|
|
|
|
Apache-2.0 — see [LICENSE](LICENSE).
|