Skip to content

A simple console-based Weather App developed in C++ that fetches real-time weather information using the OpenWeatherMap API.

Notifications You must be signed in to change notification settings

sanskritisahu21/Weather-Application

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

Weather Application

Overview

A simple console-based Weather App developed in C++ that fetches real-time weather information using the OpenWeatherMap API. Enter the city name, and the application retrieves temperature, humidity, and current weather conditions.

Features

  • Fetches weather data from OpenWeatherMap API.
  • Displays temperature in Kelvin, humidity in percentage, and the main weather condition.
  • Utilizes C++ with the cpprestsdk library for HTTP requests.

Usage

  1. Run the executable file or compile the provided C++ code.
  2. Enter the city name when prompted.
  3. Receive instant weather details, including temperature, humidity, and current weather conditions.

Dependencies

  • cpprestsdk: A Microsoft project for cloud-based client-server communication.

Setup Instructions

  1. Clone the repository or download the provided C++ code.
  2. Ensure you have the cpprestsdk library installed and configured.
  3. Compile the code using your preferred C++ compiler.
  4. Run the executable and input the city name to get real-time weather information.

About

A simple console-based Weather App developed in C++ that fetches real-time weather information using the OpenWeatherMap API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages