Saturday, February 6, 2016

How to increase the speed of computer?

Here I explain the different ways to increase the speed of computer (windows 8.1).

First thing you want to do is disable screen saver as follows.
1. Right click on desktop.
2. Click on personalize.
3. Click on screen saver (bottom right corner).
4. Select none from the list of screen savers.
5. Click Apply and then OK.

Then disable start up apps as follows.
1. Move mouse pointer to up right corner and select the search icon.
2. Type task manager and click on task manager.
3. Select start up menu.
4. Now you can see start up apps. Just click the unwanted apps and click on Disable button (bottom right).

You can increase your performance by adjusting power option by following the given steps.
1. Take search field as done earlier and type power option in the field. Click on power option.
2. Choose high performance option.

You can clean the junk files in the c drive by Disk clean up utility. For this follow the given procedure.
1. Select local disk c. Right click. Then select properties.
2. Click on disk clean up button.
3. You can check on check boxes of all items listed. Then click OK.
This process will not delete any personal data. This process deletes junk files only.



There are lots of animations while we are in front of our computers. Actually in performance point of view, they are useless. So disable animations as follows.
1. Select this PC (my computer). Right click. Then select properties.
2. Click on advanced system settings.
3. Select advanced menu. Then in performance section, click on settings button.
4. Select visual effects menu. Choose adjust for best performance option.
5. You can also change this settings according to your choice. Then click on apply then OK.

For more, defragment and optimize drives as follows.
1. Take search field and type Defragment and select the option.
2. Select each drive and click on analyse button and optimize button.

You can clean unnecessary temporary files through the following method.
1. Move mouse pointer towards the windows icon (bottom left corner).
2. Right click and select run.
3. Type %temp% on open field as shown. Then click OK.
4. Select all. Right click. Select delete option.
5. Again take run window as done before. Type temp. Click OK.
6. Select all. Right click. Select delete option.
7. Again take run window. Type prefetch in open field. Click OK.
8. Click continue.
9. Select all and delete them.



Now let's try some Registry tweaks.
1. Take run window. Type regedit in open field as shown. Click OK.
2. Select control panel. Select mouse. Then select mouse hover time. Right click. Select modify field.
3. Type small number. 10 is preferred. Then click OK.
4. Select control panel again. Select desktop. Select menu show delay. Right click. Click modify.
5. Type 10 in value data field.



At last restart the computer.



Wednesday, February 3, 2016

C++ program for matrix multiplication

//c++ program to multiply two matrices (max 6x6 size *here)
#include<iostream.h>
#include<conio.h>
int main()
{
clrscr();
int r1,r2,c1,c2,a[6][6],b[6][6],c[6][6],i,j; //size of array can be changed
cout<<”Enter the number of rows and columns of first matrix\n”;
cin>>r1>>c1;
cout<<”Enter the number of rows and columns of second matrix\n”;
cin>>r2>>c2;
if (c1!=r2)
                cout<<”\n matrix multiplication is not possible”;
else
                {
                cout<<”\n matrix multiplication is possible”;
                cout<<”\nEnter the elements in first matrix row wise\n”;
                for(i=0;i<r1;++i)
                                {
                                for(j=0;j<c1;++j)
                                                cin>>a[i][j];
             }
                cout<<”\nEnter the elements in second matrix row wise\n”;
                for(i=0;i<r2;++i)
                                {
                                for(j=0;j<c2;++j)
                                                cin>>b[i][j];
             }
                cout<<”\nThe result is\n”;
                for(i=0;i<r1;++i)
                                {
                                for (j=0;j<c2;++j)
                                                {
                                                c[i][j]=0;
                                                For(int k=0;k<c1;++k)
                                                                c[i][j]+=(a[i][k]*b[k][j]);
                     }
              }
                for(i=0;i<r1;++i)
                                {
                                for(j=0;j<c2;++j)
                                                cout<<c[i][j];<<”\t”;
                                cout<<”\n”;
              }
}
getch();
return0;
}


Featured Post

Words from the Prophet Muhammad (pbuh)'s last sermon

“Remember, one day you will appear before Allah and answer for your deeds. So beware, do not astray from the path of righteousness aft...