#include<iostream> using namespace std; void main() { cout<<"Learn2Done" } Explanation of above syntax: #include<iostream>: It is a header file library...
Continue reading...C++
C++ COMMENTS
Comments are hints that a programmer add to explain code and make it more understandable. There are two types of...
Continue reading...C++ FIRST PROGRAM
#include<iostream> using namespace std; void main() { cout<<"Learn2Done" } Explanation of above syntax: #include<iostream>: It is a header file library...
Continue reading...C++ TOKENS
Token are the most important element to be used in creating a program. The token in C++ can be defined...
Continue reading...C++ Exception Handling
Exception handling is the way to handle the unexpected circumstances like runtime errors. So when the unexpected circumstance occurs, the...
Continue reading...C++ File Handling
In C++, for working with files we use the fstream library. For using the fstream library include both and header...
Continue reading...C++ Access Modifiers
Access modifiers are used to implement an important aspect of OOP known as Data Hiding. There are three types of...
Continue reading...C++ Class
Class : Class is a user defined data type, which holds its own data members and member functions, which can...
Continue reading...C++ Object
Object : An object is an instance of a class. When a class is defined, no memory is allocated but...
Continue reading...C++ OOPs
OOP : Object Oriented Programming. Object Oriented Programming aims to implement real world entities like inheritance, hiding, polymorphism, etc. ,...
Continue reading...