A C++ university project developed for the Object-Oriented Programming module at University of London. This application visualizes historical weather temperature data using candlestick and stacked bar charts.
- Display temperature data in candlestick format
- Plot candlestick charts for temperature visualization
- Plot stacked bar charts for temperature ranges
- Temperature data filtering capabilities
- Multiple timeframe views (yearly and monthly)
- Temperature prediction based on historical patterns
- C++ compiler (C++11 or later)
- Make (optional but recommended)
- Clone the repository:
git clone https://github.com/yourusername/weather-app-cpp.git
cd weather-app-cpp- Compile the source files:
# Using g++
g++ -std=c++11 *.cpp -o weather_app- Run the compiled executable:
./weather_app- Follow the interactive menu to:
- Select a country
- Choose timeframe (yearly/monthly)
- Set temperature filters
- View different visualizations
- Make temperature predictions
The application expects a CSV file with the following format:
- First row: headers with country names
- First column: dates in YYYY-MM-DD format
- Temperature values in Celsius
main.cpp- Entry pointWeatherAppMenu.cpp/h- User interface handlingCandlestick.cpp/h- Candlestick data structureCandlesticksCollection.cpp/h- Collection managementCsvReader.cpp/h- Data file parsing
This project is part of university coursework and is available for educational purposes.