A collection of C++ example programs, demonstrating foundational and intermediate concepts—especially around object-oriented programming (OOP), file handling, templates, inheritance, and practical problem-solving.
Example File | Overview |
---|---|
class_template.cpp |
Demonstrates class templates for type-generic code |
inheritance.cpp |
Illustrates inheritance and polymorphism in C++ |
file_handling.cpp |
Basic file I/O: reading and writing text files |
deep.cpp |
(Custom)—describe this logic if meaningful |
UGS.cpp |
(Custom)—explain purpose or domain if available |
- Compiler:
g++
- Debugger:
gdb
- Editor:
vi
(or code of your choice) - Platform: Linux (Ubuntu / similar)
Download or clone the repository:
git clone https://github.com/prathameshsalunkhe/cpp.git
cd cpp