Wednesday, 30 November 2011

Trick to find the largest value

#include<stdio.h>
main () 
{       
     int a [4], i, great;       
     printf ("Separate each element with spaces \ n");       
     printf ("Enter the 4 elements to the array:");       
     for (i = 0; i <4; i + +)       
     scanf ("% d", & a [i]);       
     large = a [0];       
     for (i = 1; i <4; i + +)      
     {           
          if (large <a [i])           
          large = a [i];      
     }      
     printf ("Biggest element:% d \ n", major); 
}

Trick to finding the factorial


# include <stdio.h>
main ()
{
      int x, i, sum = 1;
      printf ("Enter value of x:");
      scanf ("% d", & x);
      for (i = 1; i <= x; i + +)
              number = number * i;
      printf ("The factorial:% d \ n", sum);
}

Trick for Convert lowercase to uppercase

# include <stdio.h>
main ()
{
      char word [20], character;
      int x = 0;
      printf ("Enter a word in lowercase:");
      scanf ("% s", & word);
      while (word [x]! = '\ 0')
      {
            character = words [x];
            if (character> = 'a' & & character <= 'z')
            {
                 character = character-32;
                 word [x] = character;
            }
           x + +;
       }
       printf ("Change to Uppercase:% s \ n", word);
}

Tips for Creating a Table of Contents Automated

Although often done, much remains to create a table of contents manually. In fact, sinceMicrosoft Office 2003, the facility to make it automatic has been refined and easier to use. This time I will try to create a table of contents and a list of pictures automatically inWord 2007 Mirosoft. Do not need any special skills or computer courses, we use the facilities immediately visible in front of us.
How to create an automatic table of contents as follows:
  1. Chapter or section title block which will be listed in the table of contents. Then, determine the headings for each chapter or section. Sequence heading indicates hierarchy in the list of contents (title of a chapter heading, section heading 2,sub-section heading 3, etc.).
  2. image
  3. After all is finished, place the cursor on the page for a list of contents (in the document the same). Then, click the References tab.
  4. image
  5. In the left pane, click the icon Table of Contents, and select (click) the form of table of contents desired.
  6. image
  7. The result will be like the image below. Writing Table of content can be changed.
  8. image

Tips for Hiding files

If you have a top secret folder, the folder should be hidden. There is one way to make the folder hidden. Although the switch show hidden files, still will not be visible.
The trick as follows:
  1. Press Windows + R then type cmd.
  2. image
  3. Enter. Command prompt window will appear.
  4. image
  5. Go to the folder that will be hidden. In this example, I will hide a folder of photos that are in D: / rahasia. Type D: and then enter.
  6. image
  7. Type cd rahasia and then press enter.
  8. image
  9. Type attrib + h + s photo.
  10. image
Now, the folder disappeared.

Monday, 21 November 2011

Tips for enable the Registry Editor

Your computer might have contracted the virus eagle. One of its activities is
disable the registry, so the registry editor could not be opened.

  1. To enable very easy. Clean virus from the first
    computer, then type the following command in notepad.
  2. image
  3. Save with akstensi. Vbs (this example, I save with the name
    enable_registry.vbs).
  4. If successful, run the file.
  5. image
  6. Click Yes, if you want to re-enable the registry editor.

Thursday, 17 November 2011

Taking care of your battery pack

Here are some ways to take care of your battery pack:battery
  • Use only batteries of the same kind as replacements. Turn the power off
    before removing or replacing batteries.
  • Do not tamper with batteries. Keep them away from children. BoyGirl
  • Dispose of used batteries according to local regulations. Recycle if possible.