Basic dynamic array (list/vector) implementation
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
# DynArray: Basic dynamic array (list/vector) implementation
|
|
|
|
|
|
|
|
Why? Why not.
|
|
|
|
|
|
|
|
## How to run?
|
|
|
|
|
|
|
|
### Got make?
|
|
|
|
|
|
|
|
```shell
|
|
|
|
make run
|
|
|
|
```
|
|
|
|
|
|
|
|
### No make?
|
|
|
|
|
|
|
|
```shell
|
|
|
|
g++ example.cpp -o example
|
|
|
|
./example
|
|
|
|
```
|
|
|
|
|
|
|
|
### Windows?
|
|
|
|
|
|
|
|
```powershell
|
|
|
|
g++ example.cpp -o example.exe
|
|
|
|
.\example.exe
|
|
|
|
```
|
|
|
|
|
|
|
|
### Windows without `g++`?
|
|
|
|
|
|
|
|
I never compiled something using `msvc` from the terminal. I guess make a new Visual Studio project, copy-paste the files in there and have fun, idk.
|