Skip to content

RohanVerma1308/Cppdev

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚙️ Cppdev Repository

This repository contains codes, practice exercises, and mini-projects developed as part of the C++ Programming course in my II Semester of B.Tech CSE (AI & DS) at JECRC University.

The repository showcases fundamental concepts of C++ programming, object-oriented programming (OOP), file handling, operator overloading, and more — alongside my individual coursework implementations.


📚 Course Overview

The C++ Programming course focused on building strong problem-solving abilities, understanding the principles of Object-Oriented Programming (OOP), and developing C++ programs to solve practical problems and implement core programming constructs.


💻 List of Experiments & Tasks

S. No. Experiment/Task Description
1️⃣ Hello World Program
2️⃣ Basic Input/Output Operations in C++
3️⃣ Add Two Numbers Program
4️⃣ Arithmetic Progression Calculation
5️⃣ Celsius to Fahrenheit Conversion
6️⃣ Even or Odd Number Check
7️⃣ Even Numbers from 1 to 20
8️⃣ Largest of Three Numbers
9️⃣ Mini Calculator using Switch Statement
1️⃣0️⃣ Factorial Calculation using Loops
1️⃣1️⃣ Demonstration of Global and Local Variables
1️⃣2️⃣ Constant Keyword Usage
1️⃣3️⃣ User-Defined Function to Add Two Numbers
1️⃣4️⃣ Call by Value Example
1️⃣5️⃣ Call by Reference Example
1️⃣6️⃣ Inline Function Example
1️⃣7️⃣ Friend Function Demonstration
1️⃣8️⃣ Function Overloading Example
1️⃣9️⃣ Pointer Demonstration
2️⃣0️⃣ Dynamic Memory Management using New and Delete
2️⃣1️⃣ Simple Interest and Compound Interest Calculations
2️⃣2️⃣ Structures in C++
2️⃣3️⃣ Class with Member Functions Defined Inside the Class
2️⃣4️⃣ Class with Member Functions Defined Outside the Class
2️⃣5️⃣ Parameterized Constructor
2️⃣6️⃣ Copy Constructor Demonstration
2️⃣7️⃣ Constructors and Destructors in C++
2️⃣8️⃣ Operator Overloading: Binary Arithmetic Operator
2️⃣9️⃣ Operator Overloading: Unary Arithmetic Operator
3️⃣0️⃣ Single Inheritance Example
3️⃣1️⃣ Multilevel Inheritance Example
3️⃣2️⃣ Multiple Inheritance Example
3️⃣3️⃣ Hierarchical Inheritance Example
3️⃣4️⃣ Hybrid Inheritance Example
3️⃣5️⃣ Virtual Base Class Demonstration
3️⃣6️⃣ Virtual Function Usage
3️⃣7️⃣ Manipulator Demonstration
3️⃣8️⃣ File Handling: Write Data to a File
3️⃣9️⃣ File Handling: Read Contents from a Specific File
4️⃣0️⃣ Copy the Contents of a File into Another File
4️⃣1️⃣ Control the File Pointer's Position
4️⃣2️⃣ Overloading of Unary and Binary Arithmetic Operators Demonstration

🛠️ Technologies Used

  • C++ (C++11 and above)
  • GCC / G++ Compiler
  • Code::Blocks / Visual Studio Code / any C++ IDE

🎯 Learning Outcome

✅ Proficiency with C++ syntax, data types, and control structures
✅ Application of functions, pointers, memory management, and file handling
✅ Strong understanding of Object-Oriented Programming (OOP) principles
✅ Implementation of operator overloading and various inheritance models
✅ Ability to solve real-world computational problems using C++


🚀 Future Enhancements

✔️ Advanced OOP practices (abstract classes, pure virtual functions)
✔️ Data Structures using C++ (arrays, linked lists, stacks, queues)
✔️ Basic algorithmic problem-solving
✔️ File handling with error checking and advanced file operations


🙌 Acknowledgements


🤝 Contribution

This repository reflects my coursework and personal practice for the C++ Programming subject. External contributions are currently not open, but feedback and suggestions are always welcome! Feel free to fork this repository for learning purposes.


📄 License

This project is licensed under the MIT License. You are free to use the code for learning purposes. Redistribution or commercial use is allowed with attribution.

MIT License

Copyright (c) 2025 Rohan Verma

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights  
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell   
copies of the Software, and to permit persons to whom the Software is  
furnished to do so, subject to the following conditions:  

The above copyright notice and this permission notice shall be included in all  
copies or substantial portions of the Software.  

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED.  

About

This repository contains codes, practice exercises, and mini-projects developed as part of the C++ Programming course in my II Semester of B.Tech CSE (AI & DS) at JECRC University.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages