This app was made as a lab in a c++ course at my university
- Display the weather forecast for several days ahead (the default value is set by the config)
- Update with some frequency (set by the config)
- Switch between cities using the "h", "l" keys (set in the config)
- End the program using Esc
- Increase/decrease the number of forecast days by pressing the "k", "j" keys
git clone https://github.com/miroshQa/ConsoleWeatherApp.git
cd ConsoleWeatherApp
mkdir build
cd build
cmake -G "Ninja" ..
ninja
cd ..
Cmake command for debug build:
cmake -G "Ninja" -DCMAKE_C_COMPILER=clang -DCMAKE_CXX_COMPILER=clang++ -DCMAKE_BUILD_TYPE=Debug ..
- Copy config from cloned repo to the home directory
cp ./mwConfig.json ~/mwConfig.json- Launch the app
cd bin
./mWeather