This repository contains my solutions to various programming problems and exercises. I've chosen C++ as the primary programming language for solving these problems.
The repository is organized into directories based on the source of the problems or categories. Each directory contains the C++ source code files and any associated resources.
- /problem
problem.cppREADME.md(problem description)Makefile...
...
Feel free to explore the directories to find solutions to specific problems.
To run a C++ solution, you can use a C++ compiler such as g++. There's a Makefile in the problem directory, you can use it for compilation.
You can build and run solutions using:
make folder=folder_nameor you can navigate to the problem directory and use the following commands:
# Compile the solution
make
# Run the compiled program
./output_filename
# Clean the compiled files
make cleanAlternavely
You can compile manually and run a solution, you can use a C++ compiler such as g++.
g++ input_filename.cpp -o output_filenameBefore using the make command, ensure that you have the necessary packages installed. You can install them using the following commands:
sudo apt-get update
sudo apt-get install build-essentialsudo dnf groupinstall "Development Tools"