C++ tutorial, C++ programs, C++ Exercises, C++ Example Programs

Thursday, April 12, 2012

Variable Declaration in C Plus Plus

Variable declaration means to tell the C++ compiler about variable name and its data type. The syntax of variable declaration in C++ is as follows: General Syntax of Variable DeclarationDataType   List-of-Variables-separated-by-commas; Examples of variable declarationint...
Share:

Naming Rules For C++ Variables

What is a Variable Name As we have come to know in a previous post on C++ Variables, that a Variable is a named memory location to store some program data temporarily. "Named Memory Location" tells us that every variable in C++ has a variable name to refer the data stored in...
Share:

Tuesday, April 10, 2012

Explain Variables in Programming C++

Variables Variable may be defined as a named memory location to store program data temporarily during the execution of the program. So, a variable can be used to store name of a student or pay of an employee etc. in a C++ program or in any other programming language. We can...
Share:

Friday, April 6, 2012

Program Age Years To Days Convert

Today, we will discuss the logic of a simple C++ Program to input age in Years and Convert into Days. This is a simple C++ logic program. Simply we will multiply the years entered by user by 365 to convert years into  days. a) Program Requirements: Input your age in...
Share:

EasyCPPprogramming.blogspotcom