How to create mobile nodes in NS2

April 9, 2013

While working with Wireless Sensor Networks, it is often required to create mobile sensor nodes in ns-2. By creating mobile nodes in NS 2 simulator, we can evaluate the performance of a wireless mobile nodes. But, how can I create a mobile node which will roam in a certain area? Normally, in NS 2 nodes are assigned to random [...]

Read the full article →

Players who scored Triple Centuries in Test Cricket

March 17, 2013

Scoring a triple century in a test cricket is like entering to the history book. Not because it is a huge run for a single batsman, but it also needs a lots of patience, batting skill and luck. The world has witnessed only 26 triple centuries in the history of test cricket. Only 22 batsmen [...]

Read the full article →

C++ code for checking prime number

March 16, 2013

I have coded a simple c++ program which can evaluate if an integer is a prime number or not. I have used unsigned long int. So, you can check up-to the highest value of unsigned long int type variable. Here is the code to check prime number: #include<iostream> using namespace std; int main() {     unsigned [...]

Read the full article →

How to read and write data in a file using C++

March 15, 2013

In my early days of learning c++, I often faced problems with file management with c++. I always looked for simple and basic code for file handling with c++. Here I have some basic c++ code for opening a file, writing some data on it and reading data from the file. Writing in a File [...]

Read the full article →

How to add dynamic menus to WordPress theme

March 6, 2013

Menu is one of the important element of a WordPress theme. You can create any number of menus and place theme wherever you want. You can easily add element to your menus from the WordPress dashboard. So, lets look, how to add menus to WordPress theme. First, you have to put the following code in [...]

Read the full article →

How to register multiple widget areas in WP theme

March 5, 2013

Normally there is only one sidebar or widget area in a WordPress theme. But, often we need multiple widget areas to show different things in different areas. But, how to create multiple sidebars or widget areas? First we will create a single sidebar then we will do it for multiple widget areas. In WordPress theme, [...]

Read the full article →

Necessary Codes For WordPress Theme Development

March 3, 2013

To develop a new WordPress theme, some codes are necessary to enable different features and functionality of WordPress. Here I have collected some basic codes which are used to create a WordPress theme. The codes along with their functions and usage are given below: For Title <?php bloginfo(‘name’) ?> To Call style.css file <link rel=”stylesheet” [...]

Read the full article →

How to create simple wireless scenario on NS2

December 29, 2012

Creating wireless scenario is important for evaluating the performance of wireless sensor network. In this post a simple wireless network scenario will be created. Normally, network scenario is created in NS2 by writing tcl scripts. There are many tcl script generator for NS2. Here, I have used NSG to generate tcl sript. First we will [...]

Read the full article →

Why Inspirational Quotes Is Needed

December 12, 2012

It is highly believed that every man and woman is full of potential. But, most of them can never use their potential and become successful. What can be the reason behind this? The reason is frustration. At some point of life almost every man become failure. He or she may try it several times. But, [...]

Read the full article →

How To Lead A Better Life

December 12, 2012

Human life is full of ups and downs. Normally man always want to avoid the bad things in front of them. But, rarely they can do that. To avoid a single bad thing, they face more bad thing and at last life becomes complicated more than ever. But, what is the reason behind it? Why [...]

Read the full article →