Inheritance
In real life inheritance is what we acquire from our parents. For example our lifestyle, way of talking etc… In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties...
Read MorePosted by M. Saqib | Sep 15, 2008 | Object Oriented Programming: Inheritance, Polymorphism, Encapsulation |
In real life inheritance is what we acquire from our parents. For example our lifestyle, way of talking etc… In Object Oriented Programming Inheritance is the process by which objects of one class acquire the properties...
Read MorePosted by M. Saqib | Sep 14, 2008 | C++ Programming: Different Articles on C++ Programming |
Encapsulation is a fundamental concept in Object Oriented Programming (OOP) that involves bundling data (attributes) and methods (functions) into a single unit known as a class. This encapsulated unit acts as a self-contained module which enhances code organization and promotes a more intuitive and manageable structure for programmers.
Read MorePosted by M. Saqib | Sep 13, 2008 | C++ Programming: Different Articles on C++ Programming |
Functions are the building blocks of any programming language. In C++, a function is a block of code that performs a specific task. Think of it as a mini-program within your main program, designed to execute a particular operation. Functions are like building blocks that help break down complex problems into manageable chunks, making your code more readable and modular.
Read MorePosted by M. Saqib | Sep 13, 2008 | C Programming: Different Articles on C Programming |
This article is about file handling using C programming language. File stores information for many purposes and retrieve whenever required by our C programs. A file represents a sequence of bytes on the disk where a group of related data is stored. File is created for permanent storage of data. C programming language can handle files as Stream-oriented data (Text) files and System oriented data (Binary) files.
Read MorePosted by M. Saqib | Sep 12, 2008 | C++ Programming: Different Articles on C++ Programming |
Virtual functions enable redefinition of a base class function in derived classes using the “virtual” keyword. They allow dynamic selection of the appropriate function at runtime based on the object’s actual type.
Read MorePosted by M. Saqib | Sep 11, 2008 | Object Oriented Programming: Inheritance, Polymorphism, Encapsulation |
Any program which uses these five methodologies or any of it, we can call that program object oriented. They are Encapsulation, Data Hiding, Overloading, Polymorphism, Inheritance. Any programming language which supports all of these features and facilitate the programmer in developing the program in these methodologies is called Object Oriented Programming Language i.e. C++, Java, C#.
Read MorePosted by M. Saqib | Sep 10, 2008 | C++ Programming: Different Articles on C++ Programming |
Container classes are the solution to a specific kind of code reuse problem. They are building blocks used to create object-oriented programs. They make the internals of a program much easier to construct. A container class describes an object that holds other objects. Container classes are so important that they were considered fundamental to early object-oriented languages
Read MorePosted by M. Saqib | Sep 10, 2008 | C++ Programming: Different Articles on C++ Programming |
Welcome to the another C++ article where we will uncover the language’s flexibility and power through various data types. In this article, we’ll explore the compounded types such as Enumerated Types, Simple Structures, Very Simple Classes, the intriguing concept of the union and Type Conversions in C++. So, buckle up, aspiring programmers, as we embark on a journey to demystify these essential building blocks of C++.
Read More