Friday, March 29, 2013

How to Disable your facebook graph search



 Facebook developers recently made graph search available  for those only who use facebook in English(US).





If you are not happy with your facebook graph search you can disable it,Here are a few steps to disable you facebok graph search.

step 1:
Go to your account settings section.

step 2:

Select general settings.

Step 3:

Now you can see language tab there,just edit it,change your default language settings to English(UK) and save it.and you are done.


 

Thursday, October 11, 2012

Visual Studio 2012



Microsoft Visual Studio 2012 came up with Windows 8, it gives you the web, SharePoint, mobile, and cloud development—it provides you all the tools to develop a complete software.
Visual Studio 2012 also came up with new templates, better publishing tools, and full support for emerging standards, like HTML5 and CSS3, as well as the latest advances in ASP.NET.

list of new features :

Windows Store Apps
Languages
ASP.NET 4.5 and Web Development
  •  

Christmas Tree code implemented in C++



#include <cstdlib>
#include <iostream>
#include <iomanip.h>
using namespace std;

int main(int argc, char *argv[])
{
   
    char c='*';
    int size;
    cout<<"enter size\n";
    cin>>size;
    int a=10;
    int k=0;
    int i=0;
    while(k<3){
    for(;i<size;i=i+2)
    {
           cout<<setw(a);
            for(int j=0;j<=i;j++)
            cout<<c;
            cout<<endl;
            a--;
            }
            a=10;
           
            k++;
            a=a-k;
            i=k;
            }
           
   
   
   
   
    system("PAUSE");
    return EXIT_SUCCESS;
}

Saturday, October 6, 2012

Story of Niels Henrik David Bohr(Danish physicist )

Niels Bohr, in full Niels Henrik David Bohr   (born Oct. 7, 1885, Copenhagen, Den.—died Nov. 18, 1962, Copenhagen), Danish physicist who is generally regarded as one of the foremost physicists of the 20th century. He was the first to apply the quantum concept, which restricts the energy of a system to certain discrete values, to the problem of atomic and molecular structure. For this work he received the Nobel Prize for Physics in 1922.Among the international community of nuclear physicists, Bohr came to play the role of convener of discussion groups and lectures, as well as being a mentor and an advisor. With the assistance of the Danish government and the Carlsberg Foundation, he succeeded in founding the Institute of Theoretical Physics in 1921, of which he became director. Bohr's institute served as a focal point for researchers into Quantum Mechanics and related subjects in the 1920s and 1930s, when most of the world's best known theoretical physicists spent some time in his company. Bohr became widely appreciated as their congenial host and eminent colleague, both at the Institute and at the Foundation's mansion in Carlsberg, where he and his family resided after 1932Bohr also conceived the principle of complementarity: that items could be separately analyzed as having several contradictory properties. For example, physicists currently conclude that light behaves either as a wave or a stream of particles depending on the experimental framework – two apparently mutually exclusive properties – on the basis of this principleBohr found philosophical applications for this daring principleAlbert Einstein much preferred the determinism of classical physics over the probabilistic new quantum physics (to which among many others Einstein himself had 'unwittingly' contributed). Philosophical issues that arose from the novel aspects of Quantum Mechanics became widely celebrated subjects of discussion. Einstein and Bohr had good-natured arguments over such issues throughout their lives.

Windows 8 is coming


Official release date for windows 8 is 26 October.But windows 8 pro is available for students on Microsoft Dream Spark premium.Best thing so far in windows is its metro style Applications,Windows 8 is designed especially for tablet PC's.this version of windows allows you to download  applications from Microsoft applications store online.new feature added in Microsoft 8 is its log on screen which provides you to lo-gin to your computer using three  options.
lo-gin through pin contains only 4 digit pin code,second is through password and third and the most interesting one through picture password.In picture password lo-gin user must have to specify specific points to lo-gin so guys wait for the official release and enjoy the best windows ever.

Thursday, April 28, 2011

5 Important Measures To Gear Up Your Windows 7 Security

If you are not making effort to improve your Windows 7 security Running a program always carries risks. For example, a program executed by a normal user can easily change the registry so it will start every time you turn on your computer. Other times, a utility, designed to improve your operating system, can change the registry using methods that works in Windows XP but not in Windows 7. Viruses and other kind of malware can also change your system files and make your computer acts erratically. So what can we do to protect ourselves?
In this tutorial, you will learn how to protect your system from an untrusted software.

1. Use your Antivirus

This may sound pretty obvious, but it is surprising that many people are not fully utilizing it. Some malware are known to prevent antivirus from running properly, so before you install anything, it is best to scan the file before running it.

This check is not going to take more than 1 minute and it is definitely worth your effort. If you don’t have any antivirus suite yet, Microsoft Security Essential is a good choice.

2. Check Digital Signatures

Some files include a signature to provide information about the developers who created the file. Virus and malware programs don’t usually include this information. We can easily check a file for its signature and discard those suspicious software that don’t come with one.
Right click on any file. Select “Properties”:
win7sec-vnc-properties
If the program include signatures information, you will see a new tab:

In this case we see that is signed by “RealVnc Limited“.
Note: Not all valid programs are signed, but at least you can eliminate the probability of a virus if the program include digital signature information.

3. Create A Restore Point

Every time you are going to make something risky with your computer, make sure you create a restore point. This applies to installing of a new antivirus suite or a new driver as well. Having a restore point allows you to restore the system back to an earlier time before the changes are made. Here is the way to create a restore point:
Using the search function in windows 7 type “create restore point” and select the program:

Go to the “Create” button:

Now the system will ask for a name for that restore point and create it. Select a descriptive name so you can find it easily.

4. Create A Standard User

Windows 7 creates its first user with administration rights. This user has the permission to do almost everything in your computer. It is a really good practice to never use your admin account for normal use of the computer. The best way is to create a standard user for your everyday use.
Go the search function type “user accounts” and press Enter:
win7sec-find-user-accounts
Select “Create a new account“:
win7sec-create-new-account
Type a name for the user, remember to check “Standard user” and click over “Create account“:
win7sec-create-standard-user

5. Restrict Access To Internet

Many viruses use Internet to look for updates. Other kind of malware, such as keyloggers, send every key you type to Internet. So if you don’t trust a program, you should block its access to the web.
Search for “windows firewall advanced“.
win7sec-search-windows-firewall-advanced
Goto “Outbound Rules” and select “New Rule…“:
win7sec-firewall-outbound-new-rule
In this case we are going to block a normal program, so select this option and press next:

Select “Block the connection” and press next:

Now you are done.
Note: If you are testing out a software, you can also use Windows XP Mode for Windows 7 or a virtual machine using Virtual Box to prevent any changes to your system.
 http://sikandarhunzai.blogspot.com

OBJECT ORIENTED C++ CODE (INHERITANCE)

GUYS HERE IS THE CODE OF INHERINTANCE OF PARENT AND CHILD CLASSES..
THIS CODE IS WRITTEN BY (SIKANDAR HAYAT HUNZAI) FOR HELPING STUDENTS..


CODED BY (SIKANDAR HAYAT)
THIS CODE IS TESTED IN VISUAL BASIC 2010

#include<iostream>

using namespace std;
////////////////////////////////////////////////////////////////////distance class//////////////////////////////////////////

class Distance
{
protected:
    int feet;
    float inches;

public:


Distance()
{
    feet=inches=0;

}

Distance (int f,float i)
{
    feet=f;
    inches=i;
}

int  getfeet()
{
    return feet;
}

float getinches( )
{
    return inches;
}




};
//////////////////////////////////////////////////////////////////// Child class

class signedDistance :public Distance
{

private:

    char sign;


public:

    signedDistance()
       
    {
        sign ='+';
    }

  signedDistance (int b)
    {

        sign=b;
    }

 signedDistance(int f,float i,char ch)

    {
       
        feet=f;
        inches=i;
        sign =ch;
       
    }

    void setsign(char ch)
    {
     sign =ch;
}
    void setfeet(int f)
     {
         feet=f;
     }

     void setinches(float i)
     {
         inches=i;
     }

    char getsign()
{
    return sign;
}


int  getfeet()
{
    return feet;
}

float getinches( )
{
    return inches;
}

};
//////////////////////////////////////////////////////MAIN/////////////////////////////////////////////////
    int main()
    {

       
        signedDistance D(10,6,'+');

        cout<<D.getsign()<<"/"<<D.getfeet()<<"/"<<D.getinches()<<endl;

     


    }