This repository contains a collection of programming questions and solutions in the Cpp programming language. The questions cover various fundamental concepts such as Input/Output, Operators, Object-Oriented Programming, Classes and Objects, Constructors, Inheritance, Operator Overloading, Exception Handling and more.
The repository is structured based on different topics, with each topic having its dedicated folder containing relevant programming questions and solutions.
- /01_basics_of_c++
- /02_functions
- /03_classes_and_objects
- /04_instance_static_members
- /05_constructors_and_overloading
- /06_operator_overloading_and_friend_function
- /07_inheritance
- /08_type_casting_and_conversion
- /09_exception_handling
- /10_this_pointer
- /11_new_and_delete
- /12_overloading_overriding_constructor_in_inheritance
- /13_virtual_function_and_abstract_class
- /14_file_handling
To clone this repository to your local machine, follow these steps:
-
Copy the repository URL by clicking on the "Code" button and selecting either HTTPS or SSH.
-
Open your terminal or command prompt.
-
Use the
git clone
command followed by the copied repository URL.
For HTTPS:
git clone https://github.com/webwithaman/cpp-programming-questions.git
- Navigate to the root directory of the project.
- Run the command
make run
to start the program. - Follow the on-screen instructions to answer the questions.
If you find a bug or have a feature request, please open an issue on GitHub. If you'd like to contribute code, please fork the repository and submit a pull request.
This project is licensed under the MIT License - see the LICENSE.md file for details.