# Programs ++ Blog

programsplusplus.blogspot.com
A blog about basic programming in many languages such as C/C++/JAVA.

## Namespace Example In C++

2012-05-04 15:26
// Program to demonstrate the use of namespaces#include <iostream>namespace other // defines a namesapce{          int sum(int,int); // fun… Read More

## C++ Program To Display Current Date And Time

2012-04-28 09:40
This program is about printing the date and time using C++. The C library contains the time.h header that deals with time and dates. Before heading further, i would like to mention a new typ… Read More

## Matrix Multiplication In C++

2012-04-20 15:59
Matrix multiplication is one of the most basic programs I learned when i was in my 12th standard. Its really simple, simply multiply the rows of the 1st matrix with the columns of the 2nd ma… Read More

## Reverse Of An Integer In C++

2012-04-17 15:23
The modulus operator (%) is widely used in many programming languages, especially in C/C++. It returns the remainder. For e.g 10%2 returns 0 as the remainder that we get when dividing 10 by… Read More

## Sophie Germain Prime Numbers In C++

2012-04-04 15:50
Prime numbers are those numbers that are only divisible by 1 and themselves. Sophie geramin prime numbers are a special category of prime numbers.By definition, a prime number, say 'p', is a… Read More

## Constructer Initialization

2012-04-03 15:20
Initializing variables while writing a program is one of the most basic routines that a programmer does while writing the code. Normally it is done using the assignment operator '=' and init… Read More

## Decimal To Binary Conversion Program (v2.0)

2012-04-02 16:34
The program I posted in my previous post could only convert whole decimal numbers into binary. Meaning it could not convert decimal numbers like 2.34 into its binary equivalent. This is the… Read More

## Binary To Decimal Conversion In C++

2012-04-02 16:29
My previous post was based on converting a decimal number into its binary equivalent. Contrary to that, the program given below converts binary numbers into their decimal equivalents. That i… Read More

## Decimal To Binary Conversion Program

2012-04-01 05:55
My apologies to my readers for posting after such a long time. Had been caught up in examinations...!!Anyways, this is a simple program to convert decimal numbers to binary numbers. In compu… Read More

## Fibonacci Series In C++

2012-03-08 07:21
The Fibonacci series is a very popular series and has many applications in many fields from mathematics to biology.The series is as follows : 1 1 2 3 5 8 13.....  There are also negafib… Read More

Programs ++

×