Saturday, 9 November 2013

Porn-viewing bosses infect corporate networks.

Do you Want to stop nasty worms from spreading on corporate networks?Then stop bosses from going to porn sites.


> According to a recent survey by software firm Threat Track Security, 40% of tech support employees admit they've had to clean an executive's corporate device after the boss visited an infected porn website.




The survey, conducted in October, shows that while it's generally gotten easier for companies to defend themselves from outside attacks, bosses' bad habits make it difficult to keep up. Here are some other mistakes executives make:
  • 56% got malware from clicking on a bad link or getting duped by a fake "phishing" email.
  • 47% attached an infected device, like a thumb drive or smartphone, to their PC.
  • 45% got a virus when they let a family member use a company computer.
  • 33% installed a malicious app on their company device.

    Part of the problem is that employees are less cautious with their iPhones and Android smartphones than they are with their office computers, said Dipto Chakravarty, an engineering and products executive at ThreatTrack. But the risk is the same, because the devices are connected to a company's network.
    The problem seems to be getting worse now that many companies have adopted the "bring your own device" approach, allowing workers to connect to company networks with their personal devices.

    ---------------------------------------------------------------------------------------------------------------------------------
  • Thursday, 31 October 2013

    C++ Program To Print ASCII value of Digits,Uppercase and Lowercase Alphabetes

    #include<conio.h>
    #include<iostream.h>
    #include<dos.h>
    #include<process.h>

    void main()
    {
    clrscr();
    char ch,a[]={"Hello world This is me"};
    int j=0;

    cout<<"Uppercase Alphabetes\n\n";
    for(int i=65;i<91;++i)
    {
    j++;
    ch=i;
    cout<<ch<<":"<<i<<"\t";
    if(j==10)
    {
    cout<<"\n";
    j=0;
    }
    }
    j=0;

    cout<<"\n\n\nLowercase Alphabetes\n\n";
    for(i=97;i<123;++i)
    {
    j++;
    ch=i;
    cout<<ch<<":"<<i<<"\t";
    if(j==10)
    {
    cout<<"\n";
    j=0;
    }
    }

    cout<<"\n\n\nDigits\n\n";
    for(i=48;i<58;i++)
    {
    ch=i;
    cout<<ch<<":"<<i<<"\t";
    }

    cout<<"\n\n\n\n\t\t";
    for(i=0;a[i]!='\0';++i)
    {
    cout<<a[i];
    sleep(1);
    }
    exit(0);
    }

    -------------------------------------------------------------------------------------------

    C++ Program to find Compound Interest.

    #include<iostream.h>
    #include<conio.h>
    #include<math.h>
    void main()
    {
    float p,r,t,ci;
    clrscr();

    cout<<"Enter Principle,Rate and Time ";
    cin>>p>>r>>t;
    ci=pow(p*(1+r/100),t);

    cout<<"\n"<<"Compound Interest = "<<ci<<"%";
    getch();
    }

    --------------------------------------------------------------------------------------------------------------------------

    Wednesday, 30 October 2013

    Lenovo's new curvy tablet - Hold,Tilt ,Stand

    LOS ANGELES: Chinese computer maker LENOVO presented a new tablet device including a bracket-cum-handle allowing it to tilt and stand, which it billed as a "game-changing" innovation.
    Hollywood actor Ashton Kutcher unveiled the Yoga Tablet at a Los Angeles event which had been shrouded in mystery, with teaser videos and social media hints tagged .

    SPECIFICATIONS :-
    The device,

    > Has 18 hours of battery life.
    > Has three modes: hold, tilt and stand.

     A cylindrical hinge on one side can either be held, or opened to produce a stand, similar to the kick-stand on Microsoft's Surface tablet.
    "Watching and discovering that people frequently use tablets in three main ways allowed us to break the mold on the current 'sea of sameness' designs," said Lenovo senior vice president Liu Jun, calling it "game-changing."
    Teaser videos ahead of the event had included some suggesting that it could somehow be attached to furniture or household appliances, but the product appeared less radical.
    The device comes in :- 8 and 10 inch models. 

    Price:-at $249 and $299 respectively. An optional blue tooth keyboard is available for the larger model, which serves as a cover.

    It enters a hugely crowded tablet market still dominated by Apples iPad, but with rivals including notably South Korea's Samsung vying to attract customers in the run-up the all important US holiday gift-buying season.

    ---------------------------------------------------------------------------------------------------------

    Tuesday, 29 October 2013

    C++ Program check whether a number is palindrome or not.

    #include<iostream.h>
    #include<conio.h>
    void main()
    {
    clrscr();
    unsigned long n,num,d,rev=0;
    cout<<"Enter any number: ";
    cin>>n;
    num=n;
    do
    {
    d=n%10;
    rev=(rev*10)+d;
    n=n/10;
    }while(n!=0);
    if(num==rev)
    cout<<endl<<"Number is Palindrome";
    else
    cout<<endl<<"Number is not Palindrome";
    getch();
    }
    ----------------------------------------------------------------------

    C++ Program to print table of any number

    #include<iostream.h>
    #include<conio.h>

    void main()
    {
    clrscr();
    int i,n;
    cout<<"Enter Number to Find Its Multiplication Table :";
    cin>>n;
    cout<<"\n\n";

    for(i=1;i<=10;++i)
    cout<<"\t"<<n<<"*"<<i<<"="<<n*i<<"\n";
    getch();
    }


     If u want more programs or any help contact me on Facebook , i will be happy if i could help u...  

    Click on the name below :-
    ***** Nilov Manna *****

    TIC - TAC -TOE GAME in C++

    OUTPUT SNAPSHOT :-

    #include<iostream.h>
    #include<conio.h>
    #include<dos.h>
    #include<process.h>


    char mat[3][3];
    void table(void);            //function to print the table
    void welcome(void);     //function for welcome screen

    void main()
    {
     welcome();
         A: clrscr();
     int i,j,m,n,sum=0;
     char ch;

     for(m=0;m<3;++m)
      for(n=0;n<3;++n)
       mat[m][n]='\0';
     table();

     while(sum<10)
     {
     //for player 1
     cout<<"Player 1 is'x'\nChoose the position:";
     cout<<"\nRow:";
     cin>>i;
     cout<<"Coloumn:";
     cin>>j;

    //if position is wrong
     for(;i>3||i<1||j>3||j<1||('x'==mat[i-1][j-1]||'o'==mat[i-1][j-1]);)
     {
        cout<<"\nSorry!!!! wrong position,Choose the position again";
        cout<<"\nRow:";
        cin>>i;
        cout<<"Coloumn:";
        cin>>j;
     }
     mat[i-1][j-1]='x';
     sum++;

     //to check if player 1 wins or not
     if(mat[0][0]=='x'&&mat[0][0]==mat[0][1]&&mat[0][0]==mat[0][2])
     {
      table();
      cout<<"\nPlayer 1 wins.......!!!" ;
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[1][0]=='x'&&mat[1][0]==mat[1][1]&&mat[1][0]==mat[1][2])
     {
      table();
      cout<<"\nPlayer 1 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[2][0]=='x'&&mat[2][0]==mat[2][1]&&mat[2][0]==mat[2][2])
     {
      table();
      cout<<"\nPlayer 1 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][0]=='x'&&mat[0][0]==mat[1][0]&&mat[0][0]==mat[2][0])
     {
      table();
      cout<<"\nPlayer 1 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][1]=='x'&&mat[0][1]==mat[1][1]&&mat[0][1]==mat[2][1])
     {
      table();
      cout<<"\nPlayer 1 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][2]=='x'&&mat[0][2]==mat[1][2]&&mat[0][2]==mat[2][2])
     {
      table();
      cout<<"\nPlayer 1 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][0]=='x'&&mat[0][0]==mat[1][1]&&mat[0][0]==mat[2][2])
     {
      table();
      cout<<"\nPlayer 1 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][2]=='x'&&mat[0][2]==mat[1][1]&&mat[0][0]==mat[2][0])
     {
      table();
      cout<<"\nPlayer 1 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(sum==9) //to check the chances
     {
      table();
      cout<<"\n\tThe game is over.......no one wins...HaHaHa.....!!!";
      break;
     }
     //for player 2
     cout<<"\n\nPlayer 2 is'o'\nChoose the position:";
     cout<<"\nRow:";
     cin>>i;
     cout<<"Coloumn:";
     cin>>j;

     //if position is wrong
     for(;i>3||i<1||j>3||j<1||('x'==mat[i-1][j-1]||'o'==mat[i-1][j-1]);)
     {
        cout<<"\nSorry!!!! wrong position,Choose the position again";
        cout<<"\nRow:";
        cin>>i;
        cout<<"Coloumn:";
        cin>>j;
     }
     mat[i-1][j-1]='o';
     sum++;
     table();

     //to check player 2 wins or not
     if(mat[0][0]=='o'&&mat[0][0]==mat[0][1]&&mat[0][0]==mat[0][2])
     {
      cout<<"\nPlayer 2 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[1][0]=='o'&&mat[1][0]==mat[1][1]&&mat[1][0]==mat[1][2])
     {
      cout<<"\nPlayer 2 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[2][0]=='o'&&mat[2][0]==mat[2][1]&&mat[2][0]==mat[2][2])
     {
      cout<<"\nPlayer 2 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][0]=='o'&&mat[0][0]==mat[1][0]&&mat[0][0]==mat[2][0])
     {
      cout<<"\nPlayer 2 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][1]=='o'&&mat[0][1]==mat[1][1]&&mat[0][1]==mat[2][1])
     {
      cout<<"\nPlayer 2 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][2]=='o'&&mat[0][2]==mat[1][2]&&mat[0][2]==mat[2][2])
     {
      cout<<"\nPlayer 2 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][0]=='o'&&mat[0][0]==mat[1][1]&&mat[0][0]==mat[2][2])
     {
      cout<<"\nPlayer 2 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }

     if(mat[0][2]=='o'&&mat[0][2]==mat[1][1]&&mat[0][0]==mat[2][0])
     {
      cout<<"\nPlayer 2 wins.......!!!";
      cout<<"\nYou have played Great.....!!!";
      sleep(5);
      break;
     }
     }
     cout<<"\n\n\tWould you like to play more....?(y/n):";
     cin>>ch;
     if(ch=='y'||ch=='Y')
      goto A;
     else
     {
      cout<<"\n\n\tThanks for Playing.......:)";
      sleep(5);
      exit(0);
     }
    }

    void table()
    {
     clrscr();
     cout<<"\n\n\t\t  1  2  3\n";
     cout<<"\t\t1  "<<mat[0][0]<<"|"<<mat[0][1]<<"|"<<mat[0][2];
     cout<<"\n\t\t  --|-|--";
     cout<<"\n\t\t2  "<<mat[1][0]<<"|"<<mat[1][1]<<"|"<<mat[1][2];
     cout<<"\n\t\t  --|-|--";
     cout<<"\n\t\t3  "<<mat[2][0]<<"|"<<mat[2][1]<<"|"<<mat[2][2]<<"\n\n";
    }

    void welcome()
    {
     textmode(C80);
     textcolor(YELLOW);
     clrscr();

     cout<<"\n\n\n\n\n\t\t\t\tWelcome To";
     sleep(2);
     cout<<"\n\n\t\t\t\tTic-Tac-Toe";
     sleep(1);
     cout<<"\n\n\t\t\t\t   Game";
     sleep(1);
     cout<<"\n\n\n\n\n\n\n\n\n\t\t\t\t\tPress any key to continue.....!!";
     getch();
    }


     If u want more programs or any help contact me on Facebook , i will be happy if i could help u...  

    Click on the name below :-
    ***** Nilov Manna *****