Welcome -
Guest!
Login
/
Register Now
|
Search:
Home
Articles
Forum
Interview FAQ
Activities
News
Videos
Poll
Links
People
Groups
C++ Programming Articles
Submit Article
Home
»
Articles
»
C++ Programming
»
Beginners
RSS Feeds
Beginning With C++
Posted By:
Gabriel Brown
Category:
C++ Programming
Views:
2330
This article explains about basic of c++ programming.
What Is C++
Bjarne Stroustrup at AT & T Bell labs in early eighties developed it (C with Classes!)
It is an extension of C with major addition of class construct, that’s why C++(++ is extension!)
C++ is a superset of C ignoring few minor issues
Function overloading and operator overloading
Above enables one to create abstract data types, inherit properties, and support polymorphism
It supports OO paradigm to a large extent
Use of //, /* */, for comments
Output with cout and << (insertion or put to op)
The identifier cout is a predefined object that represents the stdout in c++
Cin is stdin in C++and >> is an extraction or get from operator
The iostream.h file contains declarations for cout cin << and >>
The return 0 or void main is must now
Classes and Structures
Cascading IO operations like cout << “Sum” << sum << ‘\n’ & cin << no1 << no2 is possible
Classes and member functions and the :: operator
Private and public keywords
Structure is the same but can be extended to represent a class
Definition of functions inside and outside of class body
.cpp, .C or .cc extensions
Share:
Previous Post:
Program of circular doubly link list with insert, append, delete, copy, reverse and display operatio
Next Post:
Tokens, Expressions and Control Structures
Didn't find what you were looking for? Find more on
Beginning With C++
Or get
search suggestion and latest updates
.
Gabriel Brown
author of Beginning With C++ is from London,
United Kingdom
.
View All Articles
Related Articles and Code:
BEGIN TRANSACTION
Stacks code in C++
Selection Sort in C++
Classes(OOP) in C++
C++ Hotel Management Project
Program that provides facilities of calculator in c++
FUNCTION WITH ALIAS NAME OR REFERENCE VARIABLE IN C++
Program using do-while loop that will calculate the sum of every third integer beginning with i=2 sum = 2+5+8+11+.)for values less than 100
Find all lines in a file with words longer than 4 characters, assuming that words are separated by spaces except at the beginning or end of line
Other Interesting Articles in C++ Programming:
Program to read a Non-Linear equation in one variable, then evaluate it using Newton-Raphson Method and display its kD accurate root
Program of traversing a binary tree in inorder iteratively
Program that provides an example of dynamic memory allocation
drawing house line by line
Program to illustrate operator overloading from class to basic type
Program to create a queue using dynamic memory allocation
Program to estimate the Integral value of the function at the given points from the given data using Romberg Method
Program to find a Book in the list of Books
Program that takes short date from a user and displays long date
Program that provides an example of friend function of a class
Program to display string for given number
Program that maintains library shop stock using link list
Program that displays the size, address of the variables of type int , float and char.
Program to covert a given decimal number into Roman Code
Program to estimate the Differential value of a given function using Trapezoidal Rule [Predictor-Corrector Scheme (PC2)]
Program to illustrate array of objects in classes
File Operation Program
Program to illustrate pointers , structure and passing structure pointers to function.
Program to show the 3D Reflection Transformation along zx-plane
Program to illustrate the 2D array of int using pointers
Please enter your Comment
*
*
Comment should be atleast 30 Characters.
Please put code inside [Code] your code [/Code].
Please login to post comment
No Comment Found, Be the First to post comment!
C++ Programming
View All
Homework Help
Data File Structure
Computer Graphics
Projects
Beginners
Object Oriented Progra...
Algorithms
Miscellaneous Problems
Numerical Analysis
Mathematics Program
Mouse Programming
Parsing
Scanner
Interview FAQ
Assembly Language
Artificial Intelligence
C Programming
Visual C++
OOAD
Cobol
Java
SQL Server
Asp.net MVC
Rest and WCF Services
Entity Framework
Knockout.Js
Unix / Linux / Ubuntu
Networking
OOPs Concept
HTML
Dos
SQL
System Analysis & Design
Gadgets
Internet
CSS
Javascript
.Net Framework
Asp.net
C#
VB.Net
Python
Perl
Oracle
Software Engineering
RDBMS Terms
AJAX Framework
Design Pattern
UML
WPF
WCF
SEO
PowerShell
Visual Studio
WWF
BizTalk Server
Azure
General
Testing
Online Certifications
PHP
My SQL
LinQ
Project Management
Silverlight
XML
MS Office
Windows OS
DHTML
Sharepoint