Get Even More Visitors To Your Blog, Upgrade To A Business Listing >>

Blog Directory  >  Software Blogs  >  Programming Blogs  >  Programs ++ programming Blog  > 

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
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
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
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
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
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
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
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
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
2012-03-08 07:19
Numbers can become quite a huge mess when it comes to generating a particular type of series :p. Many number series such as prime numbers and the famous Fibonacci series are widely taught to… Read More
2012-03-08 06:57
My previous post was about prime numbers and demonstrated a program to generate them in C++ . This   post is about finding whether a number is prime or not. Now as stated earlier… Read More
2012-03-06 12:48
Calculating factorial is one of the most basic programs in did when i was learning C++ in 12th. :) Its quite a simple program actually, just decrement the number and multiply it with itself… Read More
2012-03-01 16:09
This program is used to find the number of words in a string. Now, to do this is actually very simple.Simply count the number of spaces between words. To do this, simply traverse the string… Read More
2012-02-27 15:17
Insertion sort is another sorting technique used when sorting arrays. Unlike bubble sort, it uses much less number of passes to sort an array. As the name suggests, sorting is done by insert… Read More
2012-02-27 15:16
Sorting is used in many programming applications and as there are various sorting algorithms, eachhaving their respective pros and cons. Bubble sort, is one such search algorithm that is ver… Read More
2012-02-27 15:15
One family of internal sorting algorithms is selection sort. The basic idea of selection sort is to repeatedly select the smallest key in the remaining unsorted array. Simply put, an element… Read More
2012-02-18 15:45
Here is a program to convert an array of string into uppercase. Just like a recent post : "lowercase to uppercase" the following program also uses the standard C++ functions such as toupper(… Read More
2012-02-12 16:27
Password encryption is basically converting a password in some other format(instead of text) into a formatthat is not recognizable,so that i becomes secure. This is essential when we want to… Read More
2012-02-05 06:48
Deletion inside data structures is very common, especially inside arrays as they have static(fixed) memory allocation. To delete an element from the array simply move each element one step a… Read More
2006-06-07 11:16
Object Oriented Programming or OOP is an approach to programming(in general) that is based on the view of treating each entity or element as an object, in such a way that each object is unaw… Read More
2006-06-07 11:16
The following program computes the length of the string using the string iterator// Program to demonstrate the use of string iterator#include <iostream>#include <string>int main(… Read More
2006-06-07 11:16
// Various methods to initialize strings in C++ #include <iostream>#include <string>using namespace std;int main(){     string s0("welcome to programsplusplus… Read More
2006-06-07 11:16
// C++ implementation of a linked list#include <iostream>struct Node // declares the node structure{     int info;     Node *next;}*start,*ptr,*… Read More

Share the post

Programs ++

×

Subscribe to Programs ++

Get updates delivered right to your inbox!

Thank you for your subscription

×