Saturday, October 17, 2015

Well explained Program to make a calculator C++

In this post we will create a simple calculator in our program today. The user will enter the first value then he will give the arithmetic operator and then he will give the second value. The compiler will then give the answer against the arithmetic operators, in this program we will learn little bit about TEXT data types.

The complete code of this program is as follows:

#include <iostream>
using namespace std;
int main (void)
{
         int a, b,c ;
         char op;
         
         
         cout << "Enetr the value" <<"\n";  

        cin >> a ;
        cout << "Enter the other value" <<"\n";
        cin >> b; 
        cout << "Enter arethmetic operation" <<"\n";
        cin >> op;
        if (op == '+')
        {cout << a + b;
          }
          
          if (op == '-')
         { cout << a - b;
          }
          
          
          if ( op == '/')
         { cout << a / b;
          }
          
          if ( op == '*')
          {cout << a * b;
          }
          
                      
       system ("pause");
       return 0;
    
 
}

Wednesday, October 14, 2015

Well explained Program to display a table C++

In this program we'll be looking at loops (for loop) and discuss a sample program in detail to understand how it works. The code of the program which we'll look at today is given below.

#include <iostream>
using namespace std;
int main (void)
{
    
    
    int a,b ;
    cin >> b;
    
    for ( a =1;  a <=10; a++ )    
    {
               cout << b <<"x" <<  a << "=" << (b * a) << "\n" ;
                     
                     }
        
        
    system("pause");
    return 0;
}

Monday, October 12, 2015

Learning C++ Breaking down a simple program

We'll dissect a simple program made in C++ today. This program asks user for an input and then tells whether the number is even or odd.

The complete code for an even odd detection program is here

#include <iostream>
using namespace std;

int main()
{
   int a;
   cout<<"Please enter a number"<<"\n";
   cin>>a;
   if (a % 2 ==0)
   {
      cout <<" The number is even" <<"\n";
   }
   else
   {
      cout <<" The number is odd" <<"\n";
   }
   system("pause");
   return 0;
}

Sunday, September 6, 2015

Web Api in Asp.net entity framework 6 Tutorial

Yellow! We’re going to create the tutorial where we implement the webapi. Let’s start right now.


We will create a separate webapi, which can be hosted anywhere without support of any MVC website. We will be using visual studio 2013 ultimate with update 4. Given below are the step by step instructions on creating a webapi(solely a webapi).


Saturday, August 15, 2015

Few projects Made in GNS3

Hello

Here I link few projects which I made in recent past using GNS3. I will try to find time to explain all of these one by one, but for now I think it's better to let everyone access it as well as keep them there for my personal use as well.


  1. A project using MPLS GNS3_MPLS
  2. A basic lan network and access list usage GNS3_LAN
  3. Project 3 GNS3_Project3
  4. Project 4 GNS3_Project4
  5. Project 5 GNS3_Project5
  6. Project 6 GNS3_Project6
  7. Project 7 GNS3_Project7
Hopefully I'll be explaining these projects soon. 

Saturday, June 13, 2015

BULK FILE CREATOR

Here is a bulk file creator utility. It can save tedious work of creating files in bulk, just select path, enter file names and press create instead of creating each file. Click here to download it

Wednesday, March 25, 2015

Router Configuration in GNS-3 (part-1)

We will router's configuration in gns3 and also the usage of VPCS(virtual client nodes or computers). To start with we will open a new project in gns3.

Monday, March 9, 2015

Solve a widget validation error for cordova

Use
<widget id="com.example.app" version="1.0.0" xmlns="http://www.w3.org/ns/widgets" xmlns:gap="http://phonegap.com/ns/1.0"

instead of

<widget id="com.example.app" version="0.0.1" xmlns="http://www.w3.org/ns/widgets" xmlns:cdv="http://cordova.apache.org/ns/1.0">

Monday, January 19, 2015

Getting started with Gns3

Once gns3 is installed, you can successfully make your topologies and run them, but before we start making topologies and simulations we need to configure the gns3. Select images(operating system) for routers, Routers are devices which need an operating system to carry out the operations we need them to. Every model of router requires a different operating system.

Installing GNS3 version 1.2.3 in windows 7

Hellow!

GNS3 is a really powerful Graphical network simulator which is used as an alternative to real computer network labs. It provides an environment as close as possible to real world scenarios. Today we will discuss about details of getting started with gns3.

Gns3 is freely downloadable from their website i.e.,  www.gns3.com. After you have downloaded the latest version of gns3. The next step is it's installation. It's plain and smiple.

First of all download gns3 all in one version for windows from their official website.