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:
2334
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 interchange the values of two int , float and char using function overloading
Program to read a Non Linear Function, construct and display the Difference Table
Program to convert points to rectangle coordinates and polar coordinates
Program to illustrate passing structures to function
Program to print, read and calculate sum, smallest, largest element an array using pointers
Program for using enum
Program to illustrate the use of call-by-refrence method in functions
Program to show the use of Bitwise Operator AND (&)
Program that computes the n_th term of the fibonacci series and also print the series upto the n_th term using recursion
PROGRAM TO IMPLEMENT RECURSIVE DESCENT PARSER
Program to read a Non-Linear equation in one variable, then evaluate it using Modified False-Position Method and display its kD accurate root
Program of link list using class pointers
Program to draw a 3D Bezier Curve of nth degree
Program to illusrate data conversion b/w built-in data types
Program to fill a Circle using Scan-Line Circle Fill Algorithm
Program to add pairs of MxN matrices
Program for Fahrenheit to Celcius using Class
Program to draw a circle using MidPoint Circle Algorithm
Program that creats a 3D solid object using Rotational Sweep Representatiom Method
Program to illustrate an example of Polymorphism ( Pure Virtual functions ).
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