Site Under Construction....

 

Basics Of Structure

 Page Quick Links

What is a Structure?


Structure is a collection of data, of same or different data types

C++ Programming Part 2 – Class & Objects

Page Quick Links

Part 2 – Classes & Objects

ABC OF C++ Program – Part 1

Page Quick Links

Part 1 – Basics

What is #include… ??
Why is #include

main() function..?
What / Why is cout needed ?
What is Cin ?
Your First C++ Program
What are Reserved words / Keywords ?
What is Identifier / Why it is needed?
Data Types
Program To Add Two Numbers
Taking Inputs From User [Cin]
Program To Accept Two Numbers from User & Multiply

What is #include… ??

These is a pre processor directive, pre processor directive starts with a # symbol
Most Commonly used preprocessor is include

Why is #include<iostream>

like stdio.h in C, in c++ we use iostream
It is modern header file, and does not have a .h extention
It contains the Input [cin] and Output [cout] functions
This are needed to print output / messages in the output screen and to read / accept values from the user
In simple language, you will not be able to display any kind of messages in the screen without these

ABC OF C Program

THIS PAGE IS UNDER CONSTRUCTION

What are #include… ??

These is a pre processor directive, pre processor directive starts with a # symbol
Most Commonly used preprocessor is include

Why is #include<stdio.h> needed ?

stdio stands for Standard Input Output.
It contains the Input [Scanf] and Output [printf] functions
This are needed to print output / messages in the output screen and to read / accept values from the user
In simple language, you will not be able to display any kind of messages in the screen without these