Simple program to find Max and min vectors from the Matrix, with given n vectors on input.
I writed algorithm code on Windows, so on linux or mac may be others compile ways. But I created CMakeLists.txt file and I think that is very similar compiling proces.
On Windows you must install Cmake and MinGW application before compile algorithm.
- Open Cmd terminal As Admin in folder with code.
- Example:
> cd C:\CMake\MaxMinVec
- Next:
> cmake -G "MinGW Makefiles" .
- After finish build in cmd:
> make -j
- Open program in bin folder.
> cd bin
> maxminvec
- Test for Matrix 3x2
> 1 0
> 1 1
> 9 7
> Max: 9 7
> Min: 1 0