Skip to content

RutviShah2/Cpp_Practicals

Repository files navigation

Welcome to my collection of C++ Practical Assignments! This repository includes real-world mini-projects covering OOP, Functions, Recursion, Pointers, File Handling, and STL โ€” all using C++! ๐Ÿ’ปโœจ

๐Ÿ“‹ Practical List

1๏ธโƒฃ Principles of Object-Oriented Programming

1.1 ๐Ÿฆ Bank Account Management System (Deposit, Withdraw, Balance)

1.2 ๐Ÿ›’ Retail Store Inventory Management (Procedural vs OOP Approach)

2๏ธโƒฃ Class and Object

2.1 ๐Ÿ“ Rectangle Management (Area and Perimeter Calculation)

2.2 ๐ŸŽ“ Student Academic Records Management (Marks and Average)

2.3 ๐Ÿฆ Enhanced Bank Account System (Flexible Account Creation and Transactions)

2.4 ๐Ÿ›๏ธ Store Inventory System (Stock Update and Item Details)

2.5 ๐Ÿ›๏ธ Loan Management System (Calculate EMI)

3๏ธโƒฃ Functions and Recursion

3.1 ๐Ÿ‘ฉโ€๐Ÿ’ผ Employee Salary Calculation (Inline Functions, Dynamic Records)

3.2 ๐Ÿ”„ Recursive and Iterative Array Sum Comparison

3.3 ๐Ÿ’ธ Bank Account System (Money Transfer and Account Tracking)

3.4 ๐Ÿงฉ Function Templates for Different Data Collections

3.5 ๐Ÿ”ข Super Digit Calculation Using Recursion

4๏ธโƒฃ Inheritance

4.1 โšช Circle Area Calculation (Base Shape Class)

4.2 ๐Ÿข Organization Hierarchy (Person โ†’ Employee โ†’ Manager)

4.3 ๐Ÿš— Car Information Management (Fuel Type and Brand)

4.4 ๐Ÿฆ Banking System (Savings and Current Accounts with History)

4.5 ๐Ÿ“ Advanced Grading System (Abstract Class and Polymorphism)

5๏ธโƒฃ Polymorphism

5.1 โž• Calculator Using Function Overloading (Add Integers, Floats)

5.2 ๐Ÿ”ท Complex Number Operations (Operator Overloading)

5.3 ๐Ÿ“ 2D Point Operations (Unary and Binary Operator Overloading)

5.4 ๐ŸŒก๏ธ Temperature Conversion System (Type Conversion and Operator Overloading)

5.5 ๐Ÿ”บ Shape Area Calculation (Runtime Polymorphism with Virtual Functions)

6๏ธโƒฃ Pointers and Dynamic Memory Allocation (DAM)

6.1 ๐Ÿง  Custom Dynamic Array Management (Insert/Delete with Pointers)

6.2 ๐ŸŽฏ Chainable Point Movement System (Using this Pointer)

6.3 ๐Ÿ”— Merge Two Sorted Arrays Dynamically

6.4 ๐Ÿšซ Virtual Destructors (Avoiding Memory Leaks in Inheritance)

7๏ธโƒฃ Stream Input/Output and File Processing

7.1 ๐Ÿ“ Word Frequency Counter from Console Paragraph

7.2 ๐Ÿ“„ Text File Analysis (Count Characters, Words, Lines)

7.3 ๐Ÿ›’ Inventory Management System with File Storage

7.4 ๐ŸŽ“ Student Performance Report Generation (Formatted Table)

7.5 ๐Ÿ’ต Student Marks & Financial Data with Stream Manipulators

8๏ธโƒฃ Standard Template Library (STL)

8.1 ๐Ÿ” Reverse a Sequence of Numbers (Iterators and std::reverse())

8.2 ๐Ÿ—‚๏ธ Word Frequency Analysis using Map

8.3 ๐Ÿšฎ Duplicate Removal from Integer Lists (Using Set)

8.4 ๐Ÿ† Student Ranking System (Sort by Scores)

8.5 ๐Ÿ“ Directory Management (Folders and Files Hierarchy)

9๏ธโƒฃ Exception Handling

9.1 โž— Division Program with Exception Handling

9.2 ๐Ÿงฎ Square Root with Custom Exception

9.3 ๐Ÿฆ Banking System with Transaction Logs

9.4 ๐Ÿ“‚ File Data Processing with Retry Logic

9.5 ๐Ÿ“š Library Management System with Custom Exceptions

About

๐Ÿš€ A Powerful Collection of C++ Projects, Algorithms, and Utilities This repository is a hub for clean, efficient, and well-structured C++ code.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages