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:
2447
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 input matrix table
Program that defines template to find minimum value in an array
Program to illustrate the implementation of arrays as a Linear Queue
PROGRAM THAT PROVIDES AN EXAMPLE OF GETLINE FUNCTION
Program to print table of values of the function y = e raise to -x
Program to show the Simple implementation of Hashing
Program for election contest among five candidates
Program that reads a number and displays it with its digits in reverse order using do-while loop
Program to show the implementation of Sutherland-Hodgeman Polygon Clipping Algorithm
Program of parser 1
Program that uses this DFA and validates whether an entered string is valid integer or not.
Program to read 2D array and display it row by row and its sum
PROGRAM OF BASIC TO CLASS CONVERSION
Program to show the implementation of the Bubble Sort Algorithm
Program to show the implementation of Cohen-Sutherland MidPoint Subdivision Line Clipping Algorithm
PROGRAM FOR PASS-I & PASS-II
Program to draw a line using Bresenham's Line Algorithm (BLA) for lines with slopes negative and less than 1
Program to convert an Infix Expression into a Postfix / Suffix Expression without parenthesize
Defines different structures in dfs
Program to find largest integer among the three and display it using function with return type
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