Monday 11 March 2013

How to Improve your Internet Speed

To increase internet speed and maximize the performance of your web connected devices,
Just Follow These Steps:

Step 1: go to desktop->My computer(right click on My Computer)->properties->then go                     HARDWARE tab->Device manager->now u see a window of Device manager.

Step 2: then go to Ports->Communication Port (double click on it and Open)

Step 3: after it opens, you can see a Communication Port properties

Step 4: go to Port settings

Step 5: now increase your “Bits per second” to 128000

Step 6: “Flow control” change 2 Hardware

Try this trick once and you will get better net speed and browsing speed.


Firefox Tricks



Firefox is one of the most commonly used browsers and it has many interesting features.
Here some funny Firefox tricks have been given. This will not harm your computer and they are tested in the latest Firefox version. Just try it.


Open your Firefox browser and copy paste the below codes one by one into the address bar and press enter.
Trick 1: chrome://global/content/alerts/alert.xul
This will show you a dancing Firefox. Your Firefox window will automatically popup anywhere at screen.
Trick 2: chrome://browser/content/browser.xul
This will open another Firefox within in a new tab. So you will have Firefox within Firefox.
Trick 3: chrome://browser/content/preferences/preferences.xul
This will open Firefox options dialog box in new tab.
Trick 4: chrome://browser/content/bookmarks/bookmarksPanel.xul
This will open your Firefox bookmark manager in new tab.
Trick 5: chrome://browser/content/history/history-panel.xul
This will open your history in new tab.
Trick 6: chrome://mozapps/content/extensions/extensions.xul?type=extensions
This will open your extensions tab in your current window.
Trick 7: chrome://browser/content/preferences/cookies.xul
This will open the “cookies window” inside a tab in the Firefox window.
Trick 8: chrome://browser/content/preferences/sanitize.xul
This will open the “Clear Private Data” window inside the current tab.
Trick 9: chrome://browser/content/aboutDialog.xul
This will open the “About Firefox” Dialog box inside the tab.


How to Copy Text from Images


If you have Microsoft office in your computer then you won’t require any other software. You can use Microsoft Office OneNote to copy text from image.
Just follow these steps:
  • Install MS-Office on your system.
  • Start->All Programs->Microsoft Office->Microsoft Office OneNote.
  • Copy and paste the image into MS-OneNote window which you want copy the text.
  • Right Click on the image and select ‘Copy Text from Picture option’.
  • Open a new Notepad or MS-Office word and paste the content.

Thats All. 
Now you have the whole text in editable format.

Thursday 7 March 2013

How To Send Free SMS Using Gmail

How to send free SMS in gmail?
Login to your Gmail account
 
Go to "Settings"  
Click on "Labs" tab  
Enable SMS (text messaging) in Chat  
Click on Save Changes

Type your Friend's phone number in chat box and click on Send SMS

After that type your friend's name and click on Save


Then chat window will open with the particular phone number. Now type your message and press Enter.
Thats All...

Program to understand how an array of structures is sent to a function

#include<stdio.h>
struct student
{
char name[20];
int rollno;
int marks;
};
void display(struct student);
void dec_marks(struct student stuarr[ ]);
main( )
{
int i;
struct student stuarr[3] =
{
{"Mary", 12, 98},
{"John", 11, 97},
{"Tom", 12, 89}
};
dec_marks(stuarr);
for(i=0; i<3; i++ )
display(stuarr[i]);
}
void dec_marks(struct student stuarr[])
{
int i;
for(i=0; i<3; i++)
stuarr[i].marks = stuarr[i].marks-10;
}
void display(struct student stu)
{
printf("Name  - %s\t", stu.name);
printf("Rollno  - %d\t", stu.rollno);
printf("Marks  - %d\n", stu.marks);
}

Program to understand how a pointer to structure is returned from a function

#include<stdio.h>
#include<string.h>
#include<stdlib.h>
struct student
{
char name[20];
int rollno;
int marks;
};
void display(struct student *);
struct student *func( );
struct student *ptr;
main( )
{
struct student *stuptr;
stuptr = func( );
display(stuptr);
free(stuptr);
}
struct student *func( )
{
ptr = (struct student *) malloc(sizeof(struct student) );
strcpy( ptr->name, "Joseph");
ptr->rollno = 15;
ptr->marks = 98;
return ptr;
}
void display( struct student *stuptr)
{
printf("Name  - %s\t", stuptr->name);
printf("Rollno  - %d\t", stuptr->rollno);
printf("Marks  - %d\n", stuptr->marks);
}

Program to understand how a structure variable is returned from a function

#include<stdio.h>
struct student
{
char name[20];
int rollno;
int marks;
};
void display(struct student);
struct student change(struct student stu);
main( )
{
struct student stu1 = {"John", 12 , 87 };
struct student stu2 = {"Mary", 18, 90};
stu1 = change(stu1);
stu2 = change(stu2);
display(stu1);
display(stu2);
}
struct student change(struct student stu)
{
stu.marks = stu.marks + 5;
stu.rollno = stu.rollno - 10;
return stu;
}
void display(struct student stu)
{
printf("Name   - %s\t", stu.name);
printf("Rollno - %d\t", stu.rollno);
printf("Marks  - %d\n", stu.marks);
}

Program to understand how a pointer to structure variable is sent to a function

#include<stdio.h>
#include<conio.h>
struct student
{
char name[20];
int rollno;
int marks;
};
void display(struct student *);
void inc_marks(struct student *);
main( )
{
struct student stu1 = {"John", 12, 87};
struct student stu2 = {"Mary", 18, 90};
inc_marks(&stu1);
inc_marks(&stu2);
display(&stu1);
display(&stu2);
}
void inc_marks(struct student *stuptr)
{
(stuptr->marks)++;
}   
void display(struct student *stuptr)
{
printf("Name   - %s\t", stuptr->name);
printf("Rollno - %d\t", stuptr->rollno);
printf("Marks  - %d\n", stuptr->marks);
}

Wednesday 6 March 2013

Speed Up File Copying With "TeraCopy"

TeraCopy is a free application that allows you to copy and move files at the maximum speed.
TeraCopy can automatically check the copied files for errors by calculating their CRC checksum values.
TeraCopy allows you to copy files faster, pause and resume file transfer and Error recovery.

 




Click here to Download TeraCopy

Lock Your USB Drive Without Using Any Software

If you're using Windows you don't need any software to do this.



Just Follow These Steps:
 

Insert your USB drive to computer Click on Start. In "Search programs and files" box, type Bitlocker Drive Encryption Now launch that application.




Then look for your USB drive and click on Turn on Bitlocker



 

Windows will ask you to set a password. Now set a strong password. 
Click on Next



If can save the password in a safe place.
Now click on Next




Now click on Star Encrypting

 


Thats All.....!!

From right now if someone tries to access your USB, Windows will ask him/her to enter the current password.

Note : This trick will work only on Windows.

 

How to Format USB Pen Drives Using Command Prompt to Delete Viruses Permanently

You can format pen drives using command prompt to remove all the virus files permanently. Most of the times these type of formats delete all the viruses from pen drive.
 

Follow these steps: 

  • Insert pen-drive into your PC
  • Find the drive letter of the pen drive
  • Now click on Start ---> Run
  • In run box, type cmd and hit Enter
  • Now command prompt will appear, in this window type format "your pen drive letter:"
    For example type : format g:
  • Hit Enter twice
  • Wait for sometime until command prompt verify the file system.
  • Now command prompt will ask you to enter a drive name.
  • After that type the drive name and then hit Enter again. 

That's all

Internet Download Manager Latest Version

Internet Download Manager [IDM] Popular download manager. IDM will increase your downloading speed and it allows to resume and schedule downloading option. Using IDM you can download videos from YouTube and other websites. Easy to download programs or data with One Click.Internet Download Manager [IDM] will release beta version for 15 or 30 days.


Click here to download 30 days trial version of IDM

Tuesday 5 March 2013

Download Avast 8.0 Public beta 3 for Free


Avast is one of the trusted and most successful anti-virus software ever. Now Avast developer team has updated their software to new version Avast 8.0.1478 public beta 3. The latest version is released with many new features and new user interface. Also it includes new tools such as Software updater, Browser Cleanup. Avast 8.0 Public beta 3 is fully compatible with Microsoft's latest operating system Windows 8.


Program to understand how a structure variable is sent to a function

#include<stdio.h>
struct student
{
char name[20];
int rollno;
int marks;
};
void display(struct student);
main( )
{
struct student stu1 = {"John", 12 , 87 };
struct student stu2 = {"Mary", 18, 90};
display(stu1);
display(stu2);
}
void display( struct student stu)
{
printf("Name   - %s\t", stu.name);
printf("Rollno - %d\t", stu.rollno);
printf("Marks  - %d\n", stu.marks);
}

Program to understand how structure members are sent to a function

#include<stdio.h>
#include<string.h>
struct student
{
char name[20];
int rollno;
int marks;
};
void display(char name[ ], int rollno, int marks);
main( )
{
struct student stu1 = {"John", 12 , 87 };
struct student stu2;
strcpy(stu2.name, "Mary");
stu2.rollno = 18;
stu2.marks = 90;
display(stu1.name, stu1.rollno, stu1.marks);
display(stu2.name, stu2.rollno, stu2.marks);
}
void display(char name[ ], int rollno, int marks)
{
printf("Name   - %s\t", name);
printf("Rollno - %d\t", rollno);
printf("Marks  - %d\n", marks);
}

Program to understand Pointers to Structures

#include<stdio.h>
#include<conio.h>
struct student
{
char name[20];
int rollno;
int marks;
};
main( )
{
struct student stu = {"Mary", 25, 68};
struct student *ptr = &stu;
printf("Name  - %s\t", ptr->name);
printf("Rollno  - %d\t", ptr->rollno);
printf("Marks  - %d\n", ptr->marks);
getch();
}

Program to understand Arrays within Structures

#include<stdio.h>
struct student
{
char name[20];
int rollno;
int submarks[4];
};
main( )
{
int i, j;
struct student stuarr[3];
for(i=0; i<3; i++)
{
printf("Enter data for student %d\n", i+1);
printf("Enter name : ");
scanf("%s", stuarr[i].name );
printf("Enter roll number : ");
scanf("%d", &stuarr[i].rollno);
for(j=0; j<4; j++)
{
printf("Enter marks for subject %d : ", j+1);
scanf("%d", &stuarr[i].submarks[j] );
}
}
for(i=0; i<3; i++)
{
printf("Data of student %d\n", i+1);
printf("Name : %s, Roll number : %d\nMarks : ", stuarr[i].name, stuarr[i].rollno);
for(j=0; j<4; j++)
printf("%d   ", stuarr[i].submarks[j] );
printf("\n");
}
}

Program to understand Array of Structures

#include<stdio.h>
struct student
{
char name[20];
int rollno;
float marks;
};
main( )
{
int i;
struct student stuarr[10];
for(i=0; i<10; i++)
{
printf("Enter name, rollno and marks  : ");
scanf("%s%d%f", stuarr[i].name, &stuarr[i].rollno, &stuarr[i].marks);
}
for(i=0; i<10; i++)
printf("%s  %d   %f \n", stuarr[i].name, stuarr[i].rollno, stuarr[i].marks);
}

Program to assign a structure variable to another structure variable

#include<stdio.h>
struct student
{
char name[20];
int rollno;
float marks;
};
main( )
{
struct student stu1 = {"Oliver", 12, 98},stu2;
stu2 = stu1;
printf("stu1 : %s   %d   %.2f\n", stu1.name, stu1.rollno, stu1.marks);
printf("stu2 : %s   %d   %.2f\n", stu2.name, stu2.rollno, stu2.marks);
}
 

Program to display the values of structure members

#include<stdio.h>
#include<string.h>
struct student
{
char name[20];
int rollno;
float marks;
};
main( )
{
struct student stu1 = {"Mary", 25, 68};
struct student stu2, stu3;
strcpy(stu2.name, "John");
stu2.rollno = 26;
stu2.marks  =  98;
printf("Enter name, rollno and marks for stu3 : ");
scanf("%s %d %f", stu3.name, &stu3.rollno, &stu3.marks);
printf("stu1 : %s  %d  %.2f\n", stu1.name, stu1.rollno, stu1.marks);
printf("stu2 : %s  %d  %.2f\n", stu2.name, stu2.rollno, stu2.marks);
printf("stu3 : %s  %d  %.2f\n", stu3.name, stu3.rollno, stu3.marks);
}

Program to understand the use of realloc() function

#include<stdio.h>
#include<stdlib.h>
main( )
{
int i, *ptr;
ptr = (int *)malloc(5 *sizeof(int));
if(ptr == NULL)
{
printf("Memory not available\n");
exit(1);
}
printf("Enter 5 integers : ");
for(i=0; i<5; i++)
scanf("%d", ptr+i);
/*Allocate memory for 4 more integers*/
ptr = (int *)realloc(ptr, 9*sizeof(int));
if(ptr == NULL)
{
printf("Memory not available\n");
exit(1);
}
printf("Enter 4 more integers : ");
for(i=5; i<9; i++)
scanf("%d", ptr+i);
for(i=0; i<9; i++)
printf("%d ", *(ptr+i));
}

Program to understand dynamic allocation of memory

#include<stdio.h>
#include<stdlib.h>
main( )
{
int *p, n, i;
printf("Enter the number of integers to be entered : ");
scanf("%d", &n);
p = (int *)malloc(n * sizeof(int));
if(p==NULL)
{
printf("Memory not available\n");
exit(1);
}
for(i=0; i<n; i++)
{
printf("Enter an integer : ");
scanf("%d", p+i);
}
for(i=0; i<n; i++)
printf("%d\t", *(p+i));
}

Array of Pointers

#include<stdio.h>
#include<conio.h>
main( )
{
int *pa[3];
int i, a=5, b=10, c=15;
pa[0] = &a;
pa[1] = &b;
pa[2] = &c;
for(i=0; i<3; i++)
{
printf("pa[%d] =  %p\t",i,pa[i]);
printf("*pa[%d] =  %d\n",i,*pa[i]);
}
getch();
}

When an array is passed to a function, the receiving argument is declared as a pointer

#include<stdio.h>
#include<conio.h>
func(float f[ ] , int *i, char c[5]);
main( )
{
float f_arr[5] ={1.4, 2.5, 3.7, 4.1, 5.9 };
int i_arr[5] = { 1, 2, 3, 4, 5};
char c_arr[5] = {'a', 'b', 'c', 'd', 'e'};
printf("Inside main( )  :   ");
printf("Size of f_arr = %u\t", sizeof(f_arr));
printf("Size of i_arr = %u\t", sizeof(i_arr));
printf("Size of c_arr = %u\n", sizeof(c_arr));
func(f_arr, i_arr, c_arr);
getch();
}    
func(float f[ ], int *i, char c[5])
{
printf("Inside func( )  : ");
printf("Size of f = %u\t", sizeof(f));
printf("Size of i = %u\t", sizeof(i));
printf("Size of c = %u\n", sizeof(c));
}              

Program to show that changes to the array made inside the function affect the original array

#include<stdio.h>
#include<conio.h>
void func(int a[]);
main( )
{
int i, arr[5] = {3, 6, 2, 7, 1};
func(arr);
printf("Inside main( ) : ");
for(i=0; i<5; i++)
printf("%d  ", arr[i]);
printf("\n");
getch();
}
void func(int a[])
{
int i;
printf("Inside func( ) : ");
for(i=0; i<5; i++)
{
a[i] = a[i] + 2;
printf("%d  ",a[i]);
}
printf("\n");
}

Program to show a function that returns pointer

#include<stdio.h>
#include<conio.h>
int *fun(int *p, int n);
main( )
{
int arr[10] = {1, 2, 3, 4, 5, 6, 7, 8, 9, 10}, n, *ptr;
n = 5;
ptr = fun(arr, n);
printf("arr = %p, ptr = %p, *ptr = %d\n", arr, ptr, *ptr);
getch();
}
int *fun(int *p, int n) 
{
p = p+n;
return  p;
}

Program to show how to return more than one value from a function using call by reference

#include<stdio.h>
#include<conio.h>
func(int x, int y, int *ps, int *pd, int *pp);
main( )
{
int a, b, sum, diff, prod;
a = 6;
b = 4;
func( a, b, &sum, &diff, &prod );
printf("Sum = %d, Difference = %d, Product = %d\n", sum, diff, prod );
getch();
}
func(int x, int y, int *ps, int *pd, int *pp)
{
*ps = x+y;
*pd = x-y; 
*pp = x*y;    
}

CALL BY REFERENCE

#include<stdio.h>
#include<conio.h>
void ref(int *p, int *q);
main()
{
int a = 5;
int b = 8;
printf("Before calling the function, a = %d and b = %d\n", a, b);
ref(&a, &b);
printf("After calling the function, a = %d and b = %d\n", a, b);
getch();
}
void ref(int *p, int *q)
{
(*p)++;
(*q)++;
printf("Inside function *p = %d, *q = %d\n", *p, *q);
}

CALL BY VALUE

#include<stdio.h>
#include<conio.h>
void value(int x, int y);
main( )
{
int a=5, b=8;
printf("Before calling the function, a = %d and b = %d\n", a, b);
value(a, b);
printf("After calling the function, a = %d and b = %d\n", a, b);
getch();
}
void value(int x, int y)
{
x++;
y++;
printf("Inside function x = %d , y = %d\n",x,y);
}

Program to print the value and address of elements of an array using pointer notation

#include<stdio.h>
#include<conio.h>
main( )
{
clrscr();
int arr[5] = {5, 10, 15, 20, 25};
int i;
for(i=0; i<5; i++)
{
printf("Value of arr[%d] = %d\t", i,*(arr+i));
printf("Address of arr[%d] = %p\n",i,arr+i);
}
getch();
}

Program to print the value and address of the elements of an array

#include<stdio.h>
#include<conio.h>
main( )
{
int arr[5] = {5,10,15,20,25};
int i;
for(i=0; i<5; i++)
{
printf("Value of arr[%d] = %d\t", i, arr[i]);
printf("Address of arr[%d] = %p\n", i, &arr[i] );
}
getch();
}

Program to understand pointer to pointer

#include<stdio.h>
#include<conio.h>
main( )
{
int a = 5;
int *pa;
int **ppa;
pa = &a;
ppa = &pa;
printf("Address of a = %p\n", &a);
printf("Value of pa = Address of a = %p\n", pa);
printf("Value of *pa = Value of a = %d\n", *pa);
printf("Address of pa = %p\n", &pa);
printf("Value of ppa = Address of pa = %p\n", ppa);
printf("Value of *ppa = Value of  pa = %p\n", *ppa);
printf("Value of **ppa = Value of a = %d\n", **ppa);
printf("Address of ppa = %p\n", &ppa);
getch();

}

Program to dereference pointer variables

#include<stdio.h>
#include<conio.h>
main( )
{
int a = 87;
float b = 4.5;
int *p1 = &a;
float *p2 = &b;
printf("Value of p1 = Address of a = %p\n", p1);
printf("Value of p2 = Address of b = %p\n", p2);
printf("Address of p1 = %p\n", &p1);
printf("Address of p2 = %p\n", &p2);
printf("Value of  a = %d  %d  %d \n", a , *p1, *(&a) );
printf("Value of  b = %f  %f  %f \n",  b , *p2, *(&b));
getch();
}

Program for multiplication of two matrices

#include<stdio.h>
#include<conio.h>
#define ROW1 3
#define COL1 4
#define ROW2 COL1
#define COL2 2
main( )
{
clrscr();
int mat1[ROW1][COL1], mat2[ROW2][COL2], mat3[ROW1][COL2];
int i, j, k;
printf("Enter matrix mat1(%dx%d)row-wise :\n", ROW1, COL1);
for(i=0; i<ROW1; i++)
for(j=0; j<COL1; j++)
scanf("%d", &mat1[i][j] );
printf("Enter matrix mat2(%dx%d)row-wise :\n", ROW2, COL2);
for(i=0; i<ROW2; i++)
for(j=0; j<COL2; j++)
scanf("%d", &mat2[i][j] );
/*Multiplication */
for(i=0; i<ROW1; i++)
for(j=0; j<COL2; j++)
{
mat3[i][j] = 0;
for(k=0; k<COL1; k++)
mat3[i][j] += mat1[i][k] * mat2[k][j];
}
printf("The Resultant matrix mat3 is :\n");
for(i=0; i<ROW1; i++)
{
for(j=0; j<COL2; j++)
printf("%5d", mat3[i][j] );
printf("\n");
}
getch();
}

Program for addition of two matrices

#define ROW 3
#define COL 4
#include<stdio.h>
#include<conio.h>
main( )
{
clrscr();
int i, j, mat1[ROW][COL], mat2[ROW][COL], mat3[ROW][COL];
printf("Enter matrix mat1(%dx%d)row-wise :\n", ROW, COL);
for(i=0; i<ROW; i++)
for(j=0; j<COL; j++)
scanf("%d", &mat1[i][j]);
printf("Enter matrix mat2(%dx%d)row-wise :\n", ROW, COL);
for(i=0; i<ROW; i++)
for(j=0; j<COL; j++)
scanf("%d", &mat2[i][j] );
/*Addition*/
for(i=0; i<ROW; i++)
for(j=0; j<COL; j++)
mat3[i][j] = mat1[i][j] + mat2[i][j];
printf("The resultant matrix mat3 is :\n");
for(i=0; i<ROW; i++)
{
for(j=0; j<COL; j++)
printf("%5d", mat3[i][j] );
}
getch();
}

Program to input and display a matrix

#define ROW 3
#define COL 4
#include<stdio.h>
main( )
{
int mat[ROW][COL], i, j;
printf("Enter the elements of the matrix(%dx%d) row-wise :\n", ROW, COL);
for(i=0; i<ROW; i++ )
for(j=0; j<COL; j++ )
scanf("%d", &mat[i][j]);
printf("The matrix that you have entered is :\n");
for(i=0; i<ROW; i++)
{
for(j=0; j<COL; j++)
printf("%5d", mat[i][j]);
printf("\n");
}
printf("\n");
}

Program to pass an array to a function

#include<stdio.h>
#include<conio.h>
void func(int val[]);
main( )
{
clrscr();
int i, arr[6] = {1, 2, 3, 4, 5, 6};
func(arr);
printf("Contents of array are now : ");
for(i=0; i<6; i++)
printf("%d ", arr[i]);
getch();
}

void func(int val[])
{
int sum=0, i;
for(i=0; i<6; i++)
{
val[i]=val[i]*val[i];
sum+=val[i];
}
printf("The sum of squares  =  %d\n", sum);
}

Program to pass array elements to a function

#include<stdio.h>
void check(int num);

main( )
{
int arr[10], i;
printf("Enter the array elements : ");
for(i=0; i<10; i++)
{
scanf("%d", &arr[i]);
check(arr[i]);
}
}
void check(int num)

{
if(num%2==0)
printf("%d is even\n", num);
else
printf("%d is odd\n", num);
}

Program to reverse the elements of an array

#include<stdio.h>
#include<conio.h>
void main( )
{
clrscr();
int i, j, temp, arr[10] = { 1, 2, 3, 4, 5, 6, 7, 8, 9, 10 };
for(i=0,j=9; i<j; i++,j--)
{
temp = arr[i];
arr[i] = arr[j];
arr[j] = temp;
}
printf("After reversing, the array is : " );
for(i=0; i<10; i++)
printf("%d  ", arr[i]);
getch();
}

Program to find the largest and smallest number in an array

#include<stdio.h>
#include<conio.h>
void main( )
{
clrscr();
int i,arr[10]={ 2, 5, 4, 1, 8, 9, 11, 6, 3, 7 };
int small, large;
small = large = arr[0];
for(i=1; i<10; i++)
{
if(arr[i] < small)
small = arr[i];
if(arr[i] > large )
large = arr[i];
}
printf("Smallest = %d, Largest = %d\n", small, large);
getch();
}

Program to input values into an array and display them

#include<stdio.h>
#include<conio.h>
main()
{
int arr[5],i;
for(i=0; i<5; i++)
{
 printf("Enter the value for arr[%d] : ",i);
 scanf("%d", &arr[i]);

}
printf("The array elements are : \n");
for(i=0; i<5; i++)
printf("%d\t", arr[i]);
printf("\n");
getch();
}

Monday 4 March 2013

MS DOS IN COLOR

Are you getting bored with your command prompt (CMD) black color
if yes want to change it's colors then here is the tricks for you..

To do this follow these steps:



1) Click on Start >Run then Type CMD

2) Command Prompt will open.

3) Type "color z"

4) List of numbers of colors will appear...Example: Blue=1

5) So, for changing CMD color to Blue color type:-"color 1"and then press Enter.

[Color attributes are specified by two HEX digits. the 1st corresponds to the background; the 2nd the foreground]

List of Command Prompt Commands

:- Accessibility Options : access.cpl
:- Add Hardware: hdwwiz.cpl
:- Add / Remove Programs: appwiz.cpl
:- Administrative Tools : control admintools
:- Automatic Updates: wuaucpl.cpl
:- Wizard file transfer Bluethooth: fsquirt
:- Calculator: calc
:- Certificate Manager: certmgr.msc
:- Character: charmap
:- Checking disk : chkdsk
:- Manager of the album (clipboard) : clipbrd
:- Command Prompt : cmd
:- Service components (DCOM) : dcomcnfg
:- Computer Management : compmgmt.msc
:- DDE active sharing : ddeshare
:- Device Manager : devmgmt.msc
:- DirectX Control Panel (if installed) : directx.cpl
:- DirectX Diagnostic Utility : dxdiag
:- Disk Cleanup : cleanmgr
:- System Information=dxdiag
:- Disk Defragmenter : dfrg.msc
:- Disk Management : diskmgmt.msc
:- Partition manager : diskpart
:- Display Properties : control desktop
:- Properties of the display (2) : desk.cpl
:- Properties display (tab "appearance") : control color
:- Dr. Watson: drwtsn32
:- Manager vérirficateur drivers : check
:- Event Viewer : Eventvwr.msc
:- Verification of signatures of files: sigverif
:- Findfast (if present) : findfast.cpl
:- Folder Options : control folders
:- Fonts (fonts) : control fonts
:- Fonts folder windows : fonts
:- Free Cell ...: freecell
:- Game Controllers : Joy.cpl
:- Group Policy (XP Pro) : gpedit.msc
:- Hearts (card game) : mshearts
:- IExpress (file generator. Cab) : IExpress
:- Indexing Service (if not disabled) : ciadv.msc
:- Internet Properties : inetcpl.cpl
:- IPConfig (display configuration): ipconfig / all
:- IPConfig (displays the contents of the DNS cache): ipconfig / displaydns
:- IPConfig (erases the contents of the DNS cache): ipconfig / flushdns
:- IPConfig (IP configuration cancels maps): ipconfig / release
:- IPConfig (renew IP configuration maps) : ipconfig / renew
:- Java Control Panel (if present) : jpicpl32.cpl
:- Java Control Panel (if present) : javaws
:- Keyboard Properties: control keyboard
:- Local Security Settings : secpol.msc
:- Local Users and Groups: lusrmgr.msc
:- Logout: logoff
:- Microsoft Chat : winchat
:- Minesweeper (game): winmine
:- Properties of the mouse: control mouse
:- Properties of the mouse (2): main.cpl
:- Network Connections : control NetConnect
:- Network Connections (2): ncpa.cpl
:- Network configuration wizard: netsetup.cpl
:- Notepad : notepad
:- NView Desktop Manager (if installed): nvtuicpl.cpl
:- Manager links: packager
:- Data Source Administrator ODBC: odbccp32.cpl
:- Screen Keyboard: OSK
:- AC3 Filter (if installed) : ac3filter.cpl
:- Password manager (if present): Password.cpl
:- Monitor performance : perfmon.msc
:- Monitor performance (2): perfmon
:- Dialing Properties (phone): telephon.cpl
:- Power Options : powercfg.cpl
:- Printers and Faxes : control printers
:- Private Character Editor : eudcedit
:- Quicktime (if installed) : QuickTime.cpl
:- Regional and Language Options: intl.cpl
:- Editor of the registry : regedit
:- Remote desktop connection : mstsc
:- Removable Storage: ntmsmgr.msc
:- requests the operator to removable storage: ntmsoprq.msc
:- RSoP (traduction. ..) (XP Pro): rsop.msc
:- Scanners and Cameras : sticpl.cpl
:- Scheduled Tasks : control schedtasks
:- Security Center : wscui.cpl
:- Console management services: services.msc
:- shared folders : fsmgmt.msc
:- Turn off windows : shutdown
:- Sounds and Audio Devices : mmsys.cpl
:- Spider (card game): spider
:- Client Network Utility SQL server : cliconfg
:- System Configuration Editor : sysedit
:- System Configuration Utility : msconfig
:- System File Checker (SFC =) (Scan Now) : sfc / scannow
:- SFC (Scan next startup): sfc / scanonce
:- SFC (Scan each démarraget) : sfc / scanboot
:- SFC (back to default settings): sfc / revert
:- SFC (purge cache files): sfc / purgecache
:- SFC (define size CAHC x) : sfc / cachesize = x
:- System Properties : sysdm.cpl
:- Task Manager : taskmgr
:- Telnet client : telnet
:- User Accounts : nusrmgr.cpl
:- Utility Manager (Magnifier, etc) : utilman
:- Windows firewall (XP SP2) : firewall.cpl
:- Microsoft Magnifier: magnify
:- Windows Management Infrastructure: wmimgmt.msc
:- Protection of the accounts database: syskey
:- vWindows update: wupdmgr
:- Introducing Windows XP (if not erased) : tourstart
:- Wordpad : write
:- Date and Time Properties : timedate.cpl

Create Desktop Shortcut For Safely Remove Hardware

1. First You Right Click on your desktop and Click on New and Click on Shortcut from the list.

2. Now It will ask you the location. Just Type the below code in it.

   rundll32.exe shell32.dll,Control_RunDLL hotplug.dll

3. Now you click on next

4. Now give a desired Name for your Shortcut and Click on Finish Button..

INTERNET ERROR CODES

Error 400 - Bad request.
Error 401 - unauthorized
request.
Error 403 - forbidden.
Error 404 - Not found.
Error 500 -Internal error.
Error 501 - Not Implemented
Error 502 - Bad Gateway
Error 503 -Service unavailable.
Error 504 - Gateway Time-Out
Error 505 - HTTP Version not
supported/DNS Look up Fail/
unknown host
Error 500-599 - Server Errors.

How to Change the Folder Color In Windows



Are you Bored to see the default yellow color folder in your computer and Are you confused to get to the right folder within the hundreds of folders with same color then this tool will help you...
changing the folder color will definitely help you to get the right folder without just depending on the folder name......

Installing the Colorizer:
You can get the colorizer from Here http://softorino.com/...

After downloading the software from the link provided run it and accept the User License Agreement during installation you may require the Dot Net Framework 3.0 to continue the installation you can get this from Microsoft Download Link

http://www.microsoft.com/download/en/confirmation.aspx?displayLang=en&id=17851

After Successfully installing the software on your computer you can see the see the Colorizer option when you "right click" on any folder....Once you right click on any folder and select the "Colorizer"

option you will promoted to select the color for your folder...and you can even make the custom colors for your folder.....You can revert to default color at any time..This software supports all 32bit and 64bit computers....

Google Fun Search Codes

1. Type “let it snow” and click on I’m Feeling Lucky. (awesome snow effect)

2. Type “google gravity” and click on I’m Feeling Lucky. (things start falling down)

3. Type “elggog” and click on I’m Feeling Lucky. (amazing mirror effect)

4. Type “do a barrel roll” and click on I’m Feeling Lucky. (a nice barrel roll attempted)

5. Type “who’s awesome” and click on I’m Feeling Lucky.

6. Type “tilt” and click on I’m Feeling Lucky. (webpage in 3D)

7. Type “who is the cutest” and click on I’m Feeling Lucky. (cute reviewed)

8. Type “google loco” and click on I’m Feeling Lucky. (someone starts moving)

9. Type “lol limewire” and click on I’m Feeling Lucky. (awesome picture)

10. Type “epic google” and click on I’m Feeling Lucky.

11. Type “rainbow google” and click on I’m Feeling Lucky.

12. Type “annoying google” and click on I’m Feeling Lucky.

13. Type “google pacman” and click on I’m Feeling Lucky.

14. Type “google heart page” and click on I’m Feeling Lucky.

15. Type “google magic” and click on I’m Feeling Lucky.

16. Type “google (color name)” and click on I’m Feeling Lucky.

17. Type “epic box” and click on I’m Feeling Lucky.

18. Type “sexy snape” and click on I’m Feeling Lucky.

19. Type “google sphere” and click on I’m Feeling Lucky.

20. Type “weenie google” and click on I’m Feeling Lucky.

Top 25 Persons Who Changed Internet Forever

1• Sir Tim Berners Lee – World Wide Web
2• Vint Cerf And Bob Kahn –TCP/IP
3• Larry Page and Sergey Brin – Google Inc.
4• David Filo and Jerry Yang – Yahoo! Inc.
5• Bill Gates – Microsoft
6• Steven Paul Jobs – Apple Inc.
7• Mark Zuckerberg – Facebook
8• Chad Hurley and Steve Chen – YouTube
9• Linus Torvalds – Linux
10• Jack Dorsey – Twitter
11• Kevin Rose – Digg
12• Bram Cohen – Bit Torrent
13• Mike Morhaime – Blizzard Entertainment
14• Jimmy Wales – Wikipedia
15• Jeff Preston Bezos – Amazon
16• Shawn Fanning – Napster, Rupture
17• Pierre Omidyar – eBay
18• Jack Ma – Alibaba
19• Craig Newmark – Craigslist
20• Matt Mullenweg – WordPress
21• Thomas Anderson – MySpace
22• Garrett Camp – Stumble Upon
23• Jon Postel – Internet Pioneer
24• Caterina Fake – Flickr
25• Marc Andreessen – Netscape

My Name on Google Search Homepage


Just follow these simple steps.

Now impress your friend by showing them your name on Google search homepage :)
Open http://www.googlemy-way.com and type in you name and click create, this is it. Don’t forget to make it your home page.

DOUBLE YOUR INTERNET BROWSING SPEED ON FIREFOX


Reduce the amount of RAM Firefox uses for it’s cache feature

Try this:

1) Type “about:config” (no quotes) in the address bar in the browser.
2) Find “browser.sessionhistory.max_total_viewers”
3) Set it’s value to “0“;(Zero)

Increase the Speed in Which Firefox loads pages

1) Type “about:config” into the address bar and hit Enter. (Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.)

2) Alter the entries as follows:
Set “network.http.pipelining” to “true”
Set “network.http.proxy.pipelining” to “true”
Set “network.http.pipelining.maxrequests” to some number like 10.

This means it will make 10 requests at once.

3) Lastly, right-click anywhere and select New->Integer. Name it “nglayout.initialpaint.delay” and set its value to “0“;.(Zero)

This value is the amount of time the browser waits before it acts on information it receives. If you’re using a broadband connection you’ll load pages faster now.

Optionally (for even faster web browsing) here are some more options for your about:config (you might have to create some of these entries by Right Click –> New– >Interger or String

“network.dns.disableIPv6”: set “false”
“content.notify.backoffcount”: set “5”; (Five)
“ui.submenuDelay”: set “0”; (Zero)


Reduce RAM usage to 10mb when Firefox is minimized

This little hack will drop Firefox’s RAM usage down to 10 Mb when minimized:

1) Open Firefox and go to the Address Bar. Type in about:config and then press Enter.
2) Right Click in the page and select New -> Boolean.
3) In the box that pops up enter “config.trim_on_minimize”. Press Enter.
4) Now select True and then press Enter.
5) Restart Firefox.

PLAY WITH THE KEYS ON FACEBOOK


Firefox Browser-Alt+Shift
Internet Explorer and Chrome-Alt

New Message: M
Facebook Search: ?
News Feed: 1
Your Profile Page: 2
Friend Request: 3
Total no of message: 4
Notification: 5
Account Setting: 6
Privacy setting: 7
Facebook Home Page: 8
Face book Terms And Conditions: 9
Help center: O

Ex : Alt+Shift+M

Keyboard Shortcuts For Ubuntu

General keyboard shortcuts

Ctrl + A = Select all
Ctrl + C = Copy the highlighted content to clipboard
Ctrl + V = Paste the clipboard content
Ctrl + N = New (Create a new document, not in terminal)
Ctrl + O = Open a document
Ctrl + S = Save the current document
Ctrl + P = Print the current document
Ctrl + W = Close the close document
Ctrl + Q = Quit the current application

Keyboard shortcuts for GNOME desktop

Ctrl + Alt + F1 = Switch to the first virtual terminal
Ctrl + Alt + F2(F3)(F4)(F5)(F6) = Select the different virtual terminals
Ctrl + Alt + F7 = Restore back to the current terminal session with X
Ctrl + Alt + Backspace = Restart GNOME
Alt + Tab = Switch between open programs
Ctrl + Alt + L = Lock the screen.
Alt + F1 = opens the Applications menu
Alt + F2 = opens the Run Application dialog box.
Alt + F3 = opens the Desk bar Applet
Alt + F4 = closes the current window.
Alt + F5 = unmaximizes the current window
Alt + F7 = move the current window
Alt + F8 = re sizes the current window.
Alt + F9 = minimizes the current window.
Alt + F10 = maximizes the current window
Alt + Space = opens the window menu.
Ctrl + Alt + + = Switch to next X resolution
Ctrl + Alt + - = Switch to previous X resolution
Ctrl + Alt + Left/Right = move to the next/previous workspace

Keyboard shortcuts for Terminal

Ctrl + A = Move cursor to beginning of line
Ctrl + E = Move cursor to end of line
Ctrl + C = kills the current process.
Ctrl + Z = sends the current process to the background.
Ctrl + D = logs you out.
Ctrl + R = finds the last command matching the entered letters.
Enter a letter, followed by Tab + Tab = lists the available commands beginning with those letters.
Ctrl + U = deletes the current line.
Ctrl + K = deletes the command from the cursor right.
Ctrl + W = deletes the word before the cursor.
Ctrl + L = clears the terminal output
Shift + Ctrl + C = copy the highlighted command to the clipboard.
Shift + Ctrl + V (or Shift + Insert) = pastes the contents of the clipboard.
Alt + F = moves forward one word.
Alt + B = moves backward one word
Arrow Up/Down = browse command history
Shift + Page Up / Page Down = Scroll terminal output

LIST OF DATA UNITS

Bit = 1 Binary Digit
Byte = 8 Bit
Kilobyte = 1024 Byte
Megabyte = 1024 Kilobyte
Gigabyte = 1024 Megabyte
Terabyte = 1024 Gigabyte
Petabyte = 1024 Terabyte
Exabyte = 1024 Petabyte
Zettabyte = 1024 Exabyte
Yottabyte = 1024 Zettabyte
Brontobyte = 1024 Yottabyte
Geopbyte = 1024 Brontobyte
Saganbyte = 1024 Geopbyte
Alphabyte = 1024 Saganbyte
Kryatbyte = 1024 Alphabyte
Amosbyte = 1024 Kryatbyte
Pectrolbyte = 1024 Kryatbyt
Bolgerbyte = 1024 Pectrolbyte
Sambobyte = 1024 Bolgerbyte
Quesabyte = 1024 Sambobyte
Kinsabyte = 1024 Quesabyte
Rutherbyte = 1024 Kinsabyte
Dubnibyte = 1024 Rutherbyte
Seaborgbyte = 1024 Dubnibyte
Bohrbyte = 1024 Seaborgbyte
Hassiubyte = 1024 Bohrbyte
Meitnerbyte = 1024 Hassiubyte
Darmstadbyte = 1024 Meitnerbyte
Roentbyte = 1024 Darmstadbyte
Coperbyte = 1024 Roentbyte

WHAT'S THE DIFFERENCE BETWEEN CORE I3, CORE I5, CORE I7

Core i3
* Entry level processor.
* 2-4 Cores
* 4 Threads
* Hyper-Threading (efficient use of
   processor resources)
* 3-4 MB Cache
* 32 nm Silicon (less heat and energy)

Core i5
* Mid range processor.
* 2-4 Cores
* 4 Threads
* Turbo Mode (turn off core if not used)
* Hyper-Threading (efficient use of
   processor resources)
* 3-8 MB Cache
* 32-45 nm Silicon (less heat and energy)
   Intel core i7 300x176 Difference Between
   Core i3, Core i5, Core i7

Core i7
* High end processor.
* 4 Cores
* 8 Threads
* Turbo Mode (turn off core if not used)
* Hyper-Threading (efficient use of
   processor resources)
* 4-8 MB Cache
* 32-45 nm Silicon (less heat and energy)

HOW TO ADD YOUR FRIEND'S PROFILE PIC/IMAGE IN FACEBOOK CHAT

* first of all login to your facebook account
* get your friend's user name..
   for e.g. https://www.facebook.com/ProgramingLife
   here ProgramingLife is the user name
   or get his/her account id if if she/he is not using username
   for e.g. http://www.fb.com/profile.php?id=123456789000000
   here 123456789000000 is the account id
* copy his/her username or account id
* Now go to chat window
* and paste his/her username or account id [[here]]
   for e.g. [[ProgramingLife]]
* And press enter

Sunday 3 March 2013

Binary to Decimal conversion

#include<stdio.h>
#include<conio.h>
int main()
{
clrscr();
long int bn,dn=0,j=1,rm;
printf("Enter any number any binary number: ");
scanf("%ld",&bn);
while(bn!=0){
rm=bn%10;
dn=dn+rm*j;
j=j*2;
bn=bn/10;
}
printf("Equivalent decimal value: %ld",dn);
getch();
return 0;
}

Decimal to Binary conversion

#include<stdio.h>
#include<conio.h>
int main()
{
int n, c, k;
clrscr();
printf("Enter an integer in decimal number system\n");
scanf("%d", &n);
printf("binary: \n", k);
for (c= 31; c >= 0; c--)
{
k = n >> c;
if (k & 1)
printf("1");
else
printf("0");
}
printf("\n");
getch();
return 0;
}

C program to get ip address

This c program prints ip (internet protocol) address of your computer, system function is used to execute the command ipconfig which prints ip address, subnet mask and default gateway. The code given below works for Windows xp and Windows 7. If you are using turbo c compiler then execute program from folder, it may not work when you are working in compiler and press Ctrl+F9 to run your program.
(it works on dev c++)

C programming code

#include<stdlib.h>

main()
{
system("C:\\Windows\\System32\\ipconfig");
system("pause");
return 0;
}

Program to shut down your PC (for win 7)

#include <stdio.h>
#include <stdlib.h>

main()
{
char ch;
printf("Do you want to shutdown your computer now (y/n)\n");
scanf("%c",&ch);
if (ch == 'y' || ch == 'Y')
system("C:\\WINDOWS\\System32\\shutdown /s");
return 0;
}

Program to shut down your PC (for win XP)

#include <stdio.h>
#include <stdlib.h>

main()
{
char ch;
printf("Do you want to shutdown your computer now (y/n)\n");
scanf("%c",&ch);
if (ch == 'y' || ch == 'Y')
system("C:\\WINDOWS\\System32\\shutdown -s");
return 0;
}

C Programming code to change text color

#include<stdio.h>
#include<conio.h>

main()
{
clrscr();
textcolor(BLUE);
cprintf("Hello World");
getch();
return 0;
}

C Programming code for blinking text

#include<stdio.h>
#include<conio.h>

main()
{
clrscr();
textcolor(RED+BLINK);
cprintf("Hello World");
getch();
return 0;
}

Delline Function in C

#include<stdio.h>
#include<conio.h>
main()
{
printf("This line will be deleted when you press a key.");
getch();
delline();
printf("Line deleted successfully.");
getch();
return 0;
}

delline function deletes the line containing the cursor and move all lines below it one line up.

Sound Function in C

#include<dos.h>
main()
{
int a;
for ( a = 200 ; a <= 1000 ; a = a + 20 )
{
sound(a);
delay(25);
}
nosound();
return 0;
}

Sound function produces the sound of a specified frequency. Used for adding music to c program, try to use some random values in loop, vary delay and enjoy.

C Program to remove or delete vowels from a string

if the input string is "c programming" then output will be "c prgrmmng". In the program we create a new string and process entered string character by character, and if a vowel is found it is not added to new string otherwise the character is added to new string, after the string ends we copy the new string into original string. Finally we obtain a string without any vowels.

C programming code:

#include <stdio.h>
#include <conio.h>
#include <string.h>
int check_vowel(char);
int main()
{
char s[100],t[100];
int i,j=0;
clrscr();
printf("Enter a string to delete vowels\n");
gets(s);
for(i=0;s[i]!='\0';i++)
{
if(check_vowel(s[i])== 0)
{
t[j] = s[i];
j++;
}
}
t[j] ='\0';
strcpy(s,t);
printf("String after deleting vowels: %s\n",s);
getch();
return 0;
}
int check_vowel(char c)
{
switch(c)
{
case 'a':
case 'A':
case 'e':
case 'E':
case 'i':
case 'I':
case 'o':
case 'O':
case 'u':
case 'U':
return 1;
default:
return 0;
}
}

C Program to check leap year

#include <stdio.h>
#include <conio.h>
int main()
{
int year;
clrscr();
printf("Enter a year to check if it is a leap year\n");
scanf("%d",&year);
if(year%400==0)
printf("%d is a leap year.\n",year);
else if(year%100==0)
printf("%d is not a leap year.\n",year);
else if(year%4==0)
printf("%d is a leap year.\n",year);
else
printf("%d is not a leap year.\n",year);
getch();
return 0;
}

C Program to print date

#include <stdio.h>
#include <conio.h>
#include <dos.h>
main()
{
struct date d;
getdate(&d);
printf("Current system date is %d%d %d ",d.da_day,d.da_mon, d.da_year);
getch();
return 0;
}

abs Function in C

abs is not a function but is a macro and is used for calculating absolute value of a number.

C programming code for abs:

#include <stdio.h>
#include <math.h>
int main()
{
int n, result;
clrscr();
printf("Enter an integer to calculate it's absolute value\n");
scanf("%d", &n);
result = abs(n);
printf("Absolute value is= %d", result);
getch();
return 0;
}

Ceil Function in C

Ceil function is used to round up a number.
Declaration: double ceil(double);

C programming code:
#include <stdio.h>
#include <math.h>
int main()
{
double n, result;
clrscr();
printf("Enter a number to round it up\n");
scanf("%lf", &n);
result = ceil(n);
printf("Original number = %.2lf\n", n);
printf("Number rounded up = %.2lf\n", result);
getch();
return 0;
}

C program to convert Roman number to decimal number

#include<stdio.h>
#include<conio.h>
#include<string.h>
int digitValue(char);
int main()
{
char roman_Number[1000];
int i=0;
long int number =0;
clrscr();
printf("Enter any roman number (Valid digits are I, V, X, L, C, D, M): \n");
scanf("%s",roman_Number);
while(roman_Number[i])
{
if(digitValue(roman_Number[i]) < 0){
printf("Invalid roman digit : %c",roman_Number[i]);
return 0;
}
if((strlen(roman_Number) -i) > 2){
if(digitValue(roman_Number[i]) < digitValue(roman_Number[i+2])){
printf("Invalid roman number");
return 0;
}
}
if(digitValue(roman_Number[i]) >= digitValue(roman_Number[i+1]))
number = number + digitValue(roman_Number[i]);
else
{
number = number + (digitValue(roman_Number[i+1]) - digitValue(roman_Number[i]));
i++;
}
i++;
}
printf("Its decimal value is : %ld",number);
getch();
return 0;
}
int digitValue(char c)
{
int value=0;
switch(c)
{
case 'I': value = 1; break;
case 'V': value = 5; break;
case 'X': value = 10; break;
case 'L': value = 50; break;
case 'C': value = 100; break;
case 'D': value = 500; break;
case 'M': value = 1000; break;
case '\0': value = 0; break;
default: value = -1;
}
return value;
}

Program to print 1 to 100 without using loop

#include<stdio.h>
int main()
{
int num = 1;
print(num);
getch();
return 0;
}
int print(num)
{
if(num<=100){
printf("%d ",num);
print(num+1);
}
}

HOW TO USE COLORFUL TEXT/ WORDS/ ALPHABETS IN FACEBOOK CHAT

CODES FOR A-Z

[[107015582669715]] = A
[[116067591741123]] = B
[[115602405121532]] = C
[[112542438763744]] = D
[[115430438474268]] = E
[[109225112442557]] = F
[[111532845537326]] = G
[[111356865552629]] = H
[[109294689102123]] = I
[[126362660720793]] = J
[[116651741681944]] = K
[[115807951764667]] = L
[[106596672714242]] = M
[[108634132504932]] = N
[[116564658357124]] = O
[[111669128857397]] = P
[[107061805996548]] = Q
[[106699962703083]] = R
[[115927268419031]] = S
[[112669162092780]] = T
[[108983579135532]] = U
[[107023745999320]] = V
[[106678406038354]] = W
[[116740548336581]] = X
[[112416755444217]] = Y
[[165724910215]] = Z

Matrix Falling Code Effect

 
Copy and paste the code given below in Notepad

@echo off
color 02
:tricks
echo %random%%random%%random%%random%%random%%random%%random%%random%
goto tricks

save the file as "Matrix.bat" or *.bat & run....
you will see the "Matrix falling code" effect.