Armstrong number An Armstrong number of three digits is an integer such that the sum of the cubes of its digits is equal to the number itself. For example, 371 is an Armstrong number since 3**3...
Friday, 26 August 2016

C++ Identifiers
C++has strict rules for variable names. A variable name is one example of an identifier. An identifier is a word used to name things. One of the things an identifier can name is a variable.We will...
Saturday, 20 August 2016

Compile & Execute C++ Program
Let's look at how to save the file, compile and run the program. Please follow the steps given below: Open a text editor and add the code as above. Save the file as: hello.cpp Open a ...

C++ Program Structure
Let us look at a simple code that would print the words Hello World #include<iostream>usingname space std;// main() is where program execution begins.intmain(){ cout <<"Hello World"; // prints Hello World return 0;} Explanation:- The C++ ...
Wednesday, 17 August 2016

Uses of C++
Use of C++: C++ is used by hundreds of thousands of programmers in essentially every application domain. C++ is being highly used to write device drivers and other softwarethat rely on direct manipulation of hardware under...

Standard Libraries
Standard Libraries C++ consists of three important parts: The core language giving all the building blocks including variables, data types and literals, etc. The C++ Standard Library giving a rich set of functions manipulating files, strings,...
Saturday, 13 August 2016

Object Oriented Programming
C++ is a statically typed, compiled, general-purpose, case-sensitive, free-form programming language that supports procedural, object-oriented, and generic programming. C++ is regarded as amiddle-levellanguage, as it comprises a combination of both high-level and low-level language features. C++...