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:
2715
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:
Classes and Objects
To parse a string using Recursive-Descent parser
Program to illustrate self-referential structures "Linked List"
Program to illustrate the implementation of Scaling Transformation along a Fixed Point
Program to construct Lagranges's Interpolation Formula from the given distinct data points.
Program of inheritance using shape class and area calculation
Program to read a Non Linear Function, construct and display the Difference Table
Program to draw a Chess Board
Program to illusrate data conversion b/w built-in data types
Program to draw a line using Bresenham's Line Algorithm (BLA) for lines with slopes negative and greater than 1
Program to read a Linear System of Equations,then evaluate it by using Guass-Seidel Itrative Method and show the result
Program to illustrate an array of structure
Double Linked List-C++
Program to draw a line using Bresenham's Line Algorithm (BLA)
Program to illustrate the implementation of Stack as an Arithmetic Expression Evaluater
Program to find the day of a week of a given date from 15 october 1582 to end of universe using arrays
Program to convert an Infix Expression into a Postfix Expression using Linked List as a Stack
Program to draw a Cubic Bezier Curve
Program to fill a Polygon using Scan Line Polygon Fill Algorithm
Program to create a queue using dynamic memory allocation
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