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:
2791
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 find the day of a week of a given date from 15 october 1582 to end of universe using arrays
Program to addition of two polynomial
Program to estimate the value of First Derivative of the function at the given points from the given data using Central Difference Formula of order 4
PROGRAM TO DISPLAY MESSAGE USING COUT
Program of link list using class pointers
PROGRAM THAT PROVIDES AN EXAMPLE OF GETLINE FUNCTION
Program to input matrix table
Program to draw a line using Digital Differential Analyzer (DDA) Algorithm
Classes and Objects
Program that prints all the even numbers b/w 0 to 50 ( using while, do-while and for loop )
Program to illustrate the implementation of Reflection Transformation about the line y=x and y=-x
Program to illustrate the Radix Sort
Example of Date
Program to find number of days b/w two given dates
Program that performs binary search
Program that displays the size, address of the variables of type int , float and char.
Program to swap two variables using header file "swap.h"
Program to print a histogram
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 to solve the Towers of Hanoi Problem (using Recursive Algorithm)
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