Friday, February 28, 2014

Program To Display Pyramid of Numbers

#include<stdio.h>
#include<conio.h>
#include<windows.h>
int main()
{
int i,j,n=5;
system("cls");
for(i=1;i<=n;i++)
{
for(j=1;j<=n-i;j++)
printf("\t");
for(j=i;j<=2*i-1;j++)
printf("\t%d",j);
for(j=2*i-2;j>=i;j--)
printf("\t%d",j);
printf("\n");}
getch();
}
Read More »

Simple Billing System Program in C

#include <stdio.h>
#include <conio.h>
#include <string.h>
#include <time.h>
#include <windows.h>
struct Billing
{
char g[50],m,e;
int q;
float r,d;
float amount;
float tax;}s;
int c;
static char mo, pa, g[50];
static int qq;
int distim();
int datess();
int timess();
int copy();
void office();
void customer();
void help();
void about();
void search();
void showall();
void add();
void remov();
void edit();
void ex();
main()
{
system("color 0a");
char x;
while(1)
{
system("cls");
distime();
printf("\t\t###############################################\n\t\t##\tLA Grandee Departmental Store\t     ##\t\t\n\t\t##\t-----------------------------\t     ##\n\t\t##\tSrijana Chowk, Pokhara, Nepal\t     ##\n\t\t##\t\t\t\t\t     ##\n\t\t##\t     Ph no: 061-123456\t\t     ##\n\t\t##\t\t\t\t\t     ##\n\t\t###############################################");
printf("\n\n\n\t ");
printf("\t1.OFFICE USE\t\t\t2.CUSTOMER USE\n\n\t\t3.HELP\t\t\t\t4.ABOUT\n\n\t\t\t\t5.EXIT\n\n");
printf("\tCHOOSE THE ABOVE OPTION TO OBTAIN A TASK:-\t");
x=getche();
x=toupper(x);

system("cls");
switch(x)
{
case '1':
printf("\n\t\tYou have selected for OFFICE USE:-");
office();
break;
case '2':
printf("\n\t\tYou have Seleced for CUSTOMER USE\n\n\n\t");
customer();
break;
case '3':
printf("\n\t\t\tHELP:");
help();
break;
case '4':
printf("\n\t\t\tABOUT US:-\n\n   ");
about();
break;
case '5':
ex();
break;
case 'S':
system("systeminfo");
printf("\n\t\t\tPress any key to continue");
break;
case 'B':
system("bill.txt");
printf("\n\n\n\n\t\t\tPress Any key to continue");
break;
case 'C':
printf("\n\n\n\t\t\tCOLOR changed Applied");
system("color 1a");
break;
default:
system("cls");
printf("\aIncorrect Input");
printf("\nAny key to continue");
}
binaya:
getch();
}
{
printf("\n\t\t            Date : ");
system("date /t");
printf("\t\t            Time : ");
system("time /t");
printf("\n");
Read More »

Factorial Number using Recursion

#include<stdio.h>
#include<conio.h>
int fact(int);
int main()
{
int a,f;
printf("Enter an Integer");
scanf("%d",&a);
f=fact(a);
printf("Factorial number Of %d is : %d",a,f);
getch();
}
int fact(int num)
{
int f;
if(num==1||num==0)
return(1);
else
f=num*fact(num-1);
return(f);
}
Read More »

Thursday, February 27, 2014

WI FI hotspot in C

#include<stdio.h>
#include<conio.h>
#include<windows.h>
void close();
main()
{
char x;
while (1)
{
system("cls");
system("color 0a");
printf("\n\n\t\t\t     MY WIFI HOTSPOT");
printf("\n\n\t\tMore info:- www.startingphaseofc.blogspot.com");
printf("\n\n\t\t{  NAME      = BINAYA \n\n\t\t  PASSWORD   = binaygrg2  } ");
printf("\n\n\n\n\t\tPRESS S TO START WIFI HOTSPOT \n\n\t  (or PRESS C TO STOP WIFI HOTSPOT IF RUNNING) :  - ");

x=getche();
x=toupper(x);
switch(x)
{
case 'S':
system("netsh wlan set hostednetwork mode=allow ssid=BINAYA key=binaygrg2 & cls & netsh wlan start hostednetwork");//you can change ssid and key content with your own.
Sleep(500);
system("cls");
printf("\n\n\t\t\tWIFI HOTSPOT IS STARTED");
Sleep(3000);
system("cls");
close();
break;
case 'C':
system("cls & netsh wlan stop hostednetwork & cls");
printf("\n\n\n\t\t\tMY WIFI HOTSPOT IS STOPPED");
Sleep(3000);
system("cls");
main();
break;
default:
system("cls");
printf("\n\n\n\n\n\t\t\tINVALID KEY IS PRESSED");
          getch();
}
}
getch();
}
void close()
{
char x;
while(1)
{
system("cls");
system("color 5a");
printf("\n\n\t\t\t     MY WIFI HOTSPOT");
printf("\n\n\t\t\tMY WIFI HOTSPOT IS STARTED \n\n\t\t\t CURRENTLY RUNNING......");
printf("\n\n\t\tMore info:- www.startingphaseofc.blogspot.com");
printf("\n\n\t\t{  NAME       = BINAYA \n\n\t\t  PASSWORD    = binaygrg2  } ");
printf("\n\n\n\t\tPRESS S TO STOP WIFI HOTSPOT  :  - ");

x=getche();
x=toupper(x);
switch(x)
{
case 'S':
system("cls & netsh wlan stop hostednetwork & cls");
printf("\n\n\n\t\t\tMY WIFI HOTSPOT IS STOPPED");
Sleep(3000);
system("cls");
main();
break;
default:
system("cls");
printf("\n\n\n\n\n\t\t\tINVALID KEY IS PRESSED");
getch();
}
}


}
Read More »

Make color changing in C programming of certain string.

//Source Code to Make color changing in C programming of certain string.
#include<stdio.h>
#include<conio.h>
#include<windows.h>
main()
{
system("cls");
char a;
printf("0 = Black \t8 = Gray \n1 = Blue  \t9 = Light Blue\n2 = Green \tA = Light Green \n3 = Aqua \tB = Light Aqua \n4 = Red \tC = Light Red \n5 = Purple \tD = Light Purple \n6 = Yellow \tE = Light Yellow \n7 = White \tF = Bright White");
printf("\n\nChoose a Color : ");
scanf("%s", &a);
switch(a)
{
case '0':
system("color 0");
break;
case '1':
system("color 1");
break;
case '2':
system("color 2");
break;
case '3':
system("color 3");
break;
case '4':
system("color 4");
break;
case '5':
system("color 5");
break;
case '6':
system("color 6");
break;
case '7':
system("color 7");
break;
case '8':
system("color 8");
break;
case '9':
system("color 9");
break;
case 'A':
case 'a':
system("color A");
break;
case 'B':
case 'b':
system("color B");
break;
case 'C':
case 'c':
system("color C");
break;
case 'D':
case 'd':
system("color D");
break;
case 'E':
case 'e':
system("color E");
break;
case 'F':
case 'f':
system("color F");
break;
default:
printf("Invalid Character");
}
getch();
}
Read More »

fibonacci series using recursion

#include<stdio.h>
#include<conio.h>
int Fibonacci(int);
int main(){
int k,n; 
long int i=0,j=1,f;
printf("Enter the range of the Fibonacci series: ");    scanf("%d",&n);
printf("Fibonacci Series: ");  
printf("%d %d ",0,1);
Fibonacci(n);
return 0;}
int Fibonacci(int n){
static long int a=0,b=1,sum;
if(n>0)
{
sum = a + b;
a =b;      
b = sum;       
printf("%ld ",sum);    
Fibonacci(n-1);
}
}


Sample output:
Enter the range of the Fibonacci series: 10Fibonacci Series: 0 1 1 2 3 5 8 13 21 34 55 89
Read More »

Ascending Order of given integer

#include<stdio.h>
#include<conio.h>
#include<string.h>
main()
{
int a[100],n,i,j,c;
printf("Enter the Numbers Of an Array : ");
scanf("%d", &n);
printf("Enter the Numbers : ");
for(i=0;i<n;i++)
{
scanf("%d", &a[i]);
}
for(i=0;i<n;i++)
{
for(j=i+1;j<n;j++)
{
if(a[i]>a[j])
{
c=a[i];
a[i]=a[j];
a[j]=c;
}
}
}
printf("The Numbers arranged in Ascending Order are : ");
for(i=0;i<n;i++)
printf("%d \n ",a[i]);
getch();
}

Read More »

Sum of Matrix

#include<stdio.h>
#include<conio.h>
#include<windows.h>
main()
{
int a[2][3], b[2][3];
int i,j;
printf("Enter the First Matrix Row wise: ");
for(j=0;j<3;j++)
{
for(i=0;i<2;i++)
{
scanf("%d", &a[i][j]);
}
}
system("cls");
printf("Enter the Second Matrix Row wise : ");
for(j=0;j<3;j++)
{
for(i=0;i<2;i++)
{scanf("%d", &b[i][j]);}
}
system("cls");
printf("The Sum Of two Matix is : \n");
for(j=0;j<3;j++)
{
for(i=0;i<2;i++)
{ printf("\t\t%d\t\t",a[i][j]+b[i][j]);
}
printf("\n");
}
getch();
}
Read More »

Union Example

#include<stdio.h>
#include<conio.h>
main()
{
union employee
{
char name[40], add[90], ph[20];
}s;
printf("Enter your name : ");
scanf("%[^\n]s",s.name);
printf("Enter your address : ");
scanf("%s",s.add);
printf("Enter Your Phone number : ");
scanf("%s",s.ph);
printf("Hey your Phone number is : %s ",s.name);
getch();
}
Read More »

Fibonacci Series

#include<stdio.h>
#include<conio.h>
#include<windows.h>
#include<string.h>
main()
{int a=0,b=1,c,n,i;
printf("Enter a Number");
scanf("%d", &n);
printf("Fibonacci Series is : %d+",b);
for(i=0;i<n;i++)
{c=a+b;
printf("%d+",c);
a=b;
b=c;
}
getch();
}
Read More »

Program to find Greatest Number in Array

#include<stdio.h>
#include<string.h>
#include<conio.h>
main(){
  int a[50];
  int  size, i, big;
  printf("\nEnter the size of the array: ");
  scanf("%d",&size);
  printf("\nEnter %d elements in to the array: ", size);
  for(i=0;i<size;i++)
      scanf("%d",&a[i]);
  big=a[0];
  for(i=1;i<size;i++){
      if(big<a[i])
           big=a[i];
  }
  printf("\nBiggest: %d",big);
getch();
}

Read More »

check whether palindrome or not

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

int main()
{
   char a[100], b[100];

   printf("Enter the string to check if it is a palindrome\n");
   gets(a);

   strcpy(b,a);
   strrev(b);

   if( strcmp(a,b) == 0 )
      printf("Entered string is a palindrome.\n");
   else
      printf("Entered string is not a palindrome.\n");

getch();
}
Read More »

Program to display current time

#include <time.h>
#include <stdio.h>

int main(void)
{
printf("\t\t\t");
time_t mytime;
mytime = time(NULL);
printf(ctime(&mytime));

return 0;
}
Read More »

Program to swap value using function call by refference

#include<stdio.h>
#include<conio.h>
int sa(int* , int*);
main()
{
int a,b;
printf("Enter A = ");
scanf("%d", &a);
printf("Enter B = ");
scanf("%d",&b);
printf("\nBefore change A = %d and  B= %d\n",a,b);
sa(&a,&b);
printf("After Change A = %d and B = %d\n",a,b);
getch();

}
int sa(int*x, int *y)
{
int t;
t=*x;
*x=*y;
*y=t;
}

Read More »

Odd numbers from 50 to 100

#include<stdio.h>
#include<conio.h>
main()
{
int i;
printf("Odd Numbers are follows:\n");
for(i=50;i<=100;i++)
i%2!=1?:printf("%d\t",i);
getch();
}
Read More »

Program to calculate Factorial Number

 #include<stdio.h>
 #include<conio.h>
  int main()
{ int n, count;
unsigned long long int factorial=1;
printf("Enter an integer: ");
scanf("%d",&n); if ( n< 0)
printf("Error!!! Factorial of negative number doesn't exist.");
 else
 { for(count=1;count<=n;++count)
 { factorial*=count;}
 printf("Factorial = %lu",factorial); }
getch();
}
Read More »

Program to find Address of character

#include<stdio.h>
#include<conio.h>
int main()
{
int a;
printf("Enter a Number");
scanf("%d",&a);
printf("Address of the %d is %d",a,&a);
getch();
}
Read More »

Function Example with switch statement

#include<stdio.h>
#include<conio.h>
void add()
{
int a, b;
printf("Enter two number :");
scanf("%d%d", &a, &b);
printf("%d+%d=%d",a, b, a+b);
}
void sub()
{
int a, b;
printf("Enter two number");
scanf("%d%d",&a,&b);
printf("%d-%d=%d",a, b,a-b);
}
main()
{
int a, b ,x;
printf("1.)Addition\n2.)Substraction\n3.)Division\n4.)Multiply\n\t\tChoose a number");
scanf("%d",&x);
switch(x)
{
case 1:
add();
break;
case 2:
sub();
break;
case 3:
printf("%d",a/b);
break;
case 4:
printf("%d",a*b);
break;
default:
printf("Invalid Key");
}
getch();
}
Read More »

Addtion using function

#include<stdio.h>
#include<conio.h>
int sum();
void main()
{
int total;
total=sum();
printf("%d",total);
   getch();
}
sum()
{
int a, b;
printf("Enter two Number");
scanf("%d%d", &a, &b);
return a+b;
}

Read More »

Simple Quiz using switch statement

#include<stdio.h>
#include<conio.h>
main()
{
char a, b, c, d,x;
binaya:
printf("What is my name?\nA.Vinay Gurung.\nB.Binaya Gurung.");
scanf("%c", &x);
switch(x)
{
case 'a':
case 'A':
printf("false");
break;
case 'b':
case 'B':
printf("True");
break;
case 1:
exit();
printf("Closing");
}
goto binaya;
getch();
}

Read More »

Program to calculate result of student using nested if statement

#include<stdio.h>
#include<conio.h>
main()
{
printf("\t\t%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n\t\t\t Program to find out DIVISION\n\t\t%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n\n\n");
float eng, math, ds, cf, pl, tot, per;
printf(" Enter a marks of English\t=\t");
scanf("%f",& eng);
printf(" Enter a marks of Math\t\t=\t");
scanf("%f", &math);
printf(" Enter a marks of Digital System\t=\t");
    scanf("%f",& ds);
    printf(" Enter a marks of Comp.Funda.\t=\t");
scanf("%f",& cf);
printf(" Enter a marks of Prog.Logic\t=\t");
scanf("%f",& pl);
tot=eng+math+ds+cf+pl;
printf("\n\n\t\tTotal marks is %f\n\n\n", tot);
if(eng>=35 && math>=35 && ds>=35 && cf>=35 && pl>=35)
{
per=tot/5;
printf("\n\n\t\tPercentage is %f\n\n\n", per);
printf("\n\n\t\tYou have passed");
if(per>=80)
printf("\n\n\n\t\tResult  =   First Division with Distinction\n\n\t\t");
else if(per>=60)
printf("\t\tResult  =   First division\n\n\t\t");
else if(per>=45)
printf("\t\tResult  =   Second Division\n\n\t\t");
else if(per>=35)
printf("\t\tResult  =   Third Division\n\n\t\t");
}
else
printf("\t\t\aResult  =   You have failed\n\n\t\t");
getch();
}
Read More »

Program to Display whether it is Armstrong or not

#include<stdio.h>
#include<conio.h>
main()
{
int a, b, c, d;
int i=1;
printf("Armstrong Number from 1 to 500 are follows:\n\t\t");
for(i=1;i<=500;i++)
{
a=i%10;
b=i%100;
b=(b-a)/10;
c=i/100;
if((a*a*a)+(b*b*b)+(c*c*c)==i)
{printf("%d\n\t\t", i);
}}
getch();
}
Read More »

Program to Display ASCCI Value of charater

#include<stdio.h>
#include<conio.h>
main()
{
char a;
printf("Enter any Cahracter\t=\t");
scanf("%c", & a);
printf("%c\t=\t%d",a,a);
getch();
}
Read More »

Program to calculate Multiplication table of Given Integer

#include<stdio.h>
#include<conio.h>
main()
{
int a, i, b;
printf("Enter a Number which you want to make a multiplication table  =  ");
scanf("%d", & a);
for(i=1;i<=10;i++)
{
b=a*i;
printf("\t%d  X  %d =\t%d\n",a, i, b);
}
getch();
}
Read More »

Program to calculate Simple Interest

#include<stdio.h>
#include<conio.h>
main()
{
float p, r, t,si;
printf("enter p, t &r ");
scanf("%f%f%f",& p, &t, &r);
si=p*t*r/100;
printf("Simple Interest is =%f", si);
printf("Thank You");
getch();
}
Read More »

Program to Calculate Net salary

#include<stdio.h>
#include<conio.h>
main()
{
int bs, tada;
float tax, ns;
printf("\t\t%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%\n\t\t\t Program to find out Net Salary\n\t\t%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%");
printf("\n\n\t\tEnter your Basic Salary\t=\t");
scanf("%d", & bs);
if(bs>=10000)
tax= bs*10/100;
else
tax= bs*5/100;
tada=bs*15/100;
ns=bs-tax+tada;
printf("\n\t\tYour Net Salary is \t=\t%f\n\n", ns);
getch();
}
Read More »

C program to Display Hello World !

#include<stdio.h>
#include<conio.h>
int main()
{
system("cls");
printf("Hello World !");
getch();
}
Read More »

Recursion

Recursion is the process of calling function by itself
Read More »

Wednesday, February 26, 2014

How to fix fake serial problem in IDM

Nowadays IDM is the most widely used download manager because of its capability to download files at a faster rate than compared to that of any browser or any other download manager.But it has a trial period, which makes people to buy it but some people can not afford to buy a full version, so they have to use crack version of IDM, but sometimes crack serial key fails to work when you tries to update the version at that time a message occurs displaying 'Internet Download Manager has been registered with fake serial Number.
for overcoming this problems there are some of the best way is given to fix this problem:-

  • Trick first:
This trick is very useful when that type of error occurs in your IDM.
  1. First close opened IDM (Internet Download Manager).
  2. Open installed directory of IDM (eg. C:\Program Files (x86)\Internet Download Manager).
  3. Rename IDMGrHlp.exe into IDMGrHlp (Donot change the extension).
  4. Rename idmBroker.exe into IDMGrHlp.exe .

       Now Restart your computer then it is done and Enjoy!!!

  • Trick Second
  1. close IDM (if opened).
  2. Go to Run (i.e. window+R).
  3. type 'regedit' (without quotation).
  4. Now click on HKEY_LOCAL_MACHINE >> Software >>
  5. select Internet Download manager, And delete it.
  6. Now Download the register key of idm from here.
  7. install it and now its done.
                        Now enjoy guys

Download the Full version of IDM
Read More »

1974 AD

1974 AD
1974 AD is the Band, which is formed during 90s era by a group of teachers from Gyanodaya School in Lalitpur. Everywhere they request to giveup smoking their fans and every people.Their popularity has becoming higher than other bands because of their versatility, rythms and ideas.
their classic formula of drawing on 70's rock influences, embellishing it with rythms as far as folk Nepali to  African beats.till now(2012) they have released eight album.No concert is complete without their participation, No musical conversation will complete without their mention. Although their band has endured in the music scene for almost two decades, their line-up has kept changing, and Now In 1974 AD Band their are four band members, Adrian Pradhan, Manoj KC, Nirakar Yakthumba and Sanjay Shrestha. their most popular songs are 'Timi Bina' from their latest album "Aath Athaara", 'mutu Bhari', 'Sambodhan', 'Parelima', 'Pinjadako Suga', 'Samjhi Baaschhu', 'Bardan', 'Chhudaina' and etc.
Read More »

Robin and the new revolution

Robin and the new revolution
Robin Tamang has defined Western genre for Nepali audiences, proving that rules are different from different games. It was Robin and Looza that began merging tunes and western motifs with a hint of Patriotism,an instant trendsetter among emerging young artist. His team started an Era of revolution in the stagnant Neoali music since 1998. In 1999, their first album, Nepal, packaged the soulfulsongs of Arun Thapa, Dany Denzongpa and Om Bikram Bista as Nepali blues; the album topped the nepali music charts for six months and stayed on it for a year. Their second and third albums, Adhunik Aagan Ma(2001) and Bhool ma Bhulyo(2003) stayed on top of the charts for three to six months. They grabbed the hits FM awards for best song in foreign Languages in 2003 and the RARA Music award for best live act performance in 2004. With a desire to do something different on his sunburst fender, Robin parted from Robin and Looza in 2004 and the new Revolution. and yet again, he ventured and gained! The teams debut album KETA KETI was a big hit and was followed by another successful album, Tera Hazar, dedicated to the Thirteen thousand People, who lost their lives during the political insurgency of Nepal. Long may robin and his band mets continue with their musical Revolution!
Read More »

Activate C free 5 pro Permanently

Carefully read all the instructions :-
  •  Disconnect your PC/Laptop from the internet.
  •  Disable your antivirus.
  •  Run the application.
  •  After the installation is complete, you're supposed to register it, Otherwise, it will be a 30 days  trial.
  •  Select the Register option from the Help menu.
  •  Register with the following information.

Name
TEAM MESMERiZE
Email
MESMERiZE@wejustdo.it
Serial Number
5Onmluz+3IHs7MK+w9nGr83Dm7Ld+PCa5Iz4nvrh8InA9vDb

 'Close & Restart' the application which you'll be asked to do so. 
Now, you are done. You may enable your antivirus now.  
  •  To verify that your product is registered, select the About option from the Help menu.
  •  Whenever you Run this application, make it sure that you are disconnected from the internet.
Read More »

Amrit Gurung and Nepathya

Amrit Gurung(Nepathya)
The Front man of Nepathya, Amrit Gurung wears Gandhian frames and spreads massages of peace and harmony through his folk and rock infused pop melodies. The band was "accidently" formed in 1990,when three guys from pokhara included Amrit Gurung came together during their college days in Kathmandu,though Amrit is only remaining member. Nepathya has released nine albums till (2012) since the self-titled Nepathya hit market in 1991. their exhilarating fusion catars to all tastes from clubbers who want to dance away to the track "RESHAM" to country lovers who wish to indulge in Pattritism of 'Mero Desh'. But Amrit offers to the world much more than just a good voice. He shares his success through charity concert namely 'Santiko lagi Shiksha (Education for peace) which started in 2002 to help raise funds for school children, and through 'Sundar Shanta Nepal Shanti sangeet Yatra' in 2003, as part of which he has traveled to over 70 district on foot arriving inspiring massages of "Peace and Love". Nepathya is the only one Band from Nepal who performed in Wembly Stadium.


Album Name
Released Year
Featuring Song
Nepathya
1991
Barshatko mausam
Himal chuchure
1993
Chhekyo chhekyo, Euta Sathi
Min pachas ma
1995
Jomsomai Bazarma, Chari maryo
Shringar
1997
Saruma Rani, Yatra
Resham
2001
Resham, Yo Zindagani
Bhedako oon Jasto
2003
Bhedako oon, Sa…., Taalko Pani
Ghatana (Incidents of Nepal)
2005
Ghatna
Mero Desh
2010
Rato ra Chandra surya, AAMA
Aina Jhyal
2010
Jogale Hunchha veta, Salijyo
Read More »

Simple steps to increase performance of PC

1.Defragmenting and optimizing your hard disk:-
  1. In windows 8, go to search box then type defragment then click " defragment and optimize your disk".
  2. then select every single disk and optimize and analyze them , it will take just few minutes. but in previous version of windows (eg.windows xp/vista/7). 
  3. click all programs then click accessories then click system tools and at last click "defragment and optimize your disk" then select every single disk and optimize and analyze them , it will take just few minutes.
2.Cleaning up your PC (or Notebook or Laptop):-
  1. Go to Run (or press windows+R) then type "cleanmgr" without quotation, click OK.
  2. New confirm box will open then click OK after few seconds options for cleaning up your PC (or Notebook or Laptop) window will open.
  3. Just click OK and click "delete files" (don't be panicked it only deletes temporary and unused files of your PC (or Notebook or Laptop), it won't affect your personal files).
  4. After few seconds it will be done, then your PC (or Notebook or Laptop) will be faster than before.
Read More »

Shutdown command line for Windows

The shutdown command is a Command Prompt command that can be used to shut down, restart, log off, or hibernate your own computer.
The shutdown command can also be used to remotely shut down or restart a computer you have access to over a network.
Shutdown Command Syntax:
shutdown [/i | /l | /s | /r | /g | /a | /p | /h | /e |/o] [/hybrid] [/f] [/m \\computer-name] [/t xxx] [/d[p:|u:]xx:yy] [/c "comment"] [/?]
How To Read Command Syntax if you're not sure how to read the shutdown command syntax shown above.
/i = This shutdown option shows the Remote Shutdown Dialog, a graphical version of the remote shut down and restart features available in the shutdown command. The /i switch must be the first switch shown and all other options will be ignored.
/l = This option will immediately log off the current user on the current machine. You can not use the /l option with the /m option to log off a remote computer. The /d, /t, and /c options are also not available with /l.
/s = Use this option with the shutdown command to shut down the local or /m defined remote computer.
/r = This option will shut down and then restart the local computer or the remote computer specified in /m.
/g = This shutdown option functions the same as the /r option but will also restart any registered applications after the reboot.
/a = Use this option to stop a pending shut down or restart. Remember to use the /m option if you're planning on stopping a pending shut down or restart that you executed for a remote computer.
/p = This shutdown command option turns off the local computer completely. Using the /poption is similar to executing shutdown /s /f /t 0. You can not use this option with /t.
/h = Executing the shutdown command with this option immediately puts the computer you're on into hibernation. You can not use the /h option with the /m option to put a remote computer into hibernation, nor can you use this option with /t, /d, or /c.
/e = This option enables documentation for an unexpected shut down in the Shutdown Event Tracker.
/o = Use this shutdown switch to end the current Windows session and open the Advanced Boot Options menu. This option must be used with /r. The/o switch is new beginning in Windows 8.
/hybrid = This option performs a shutdown and prepares the computer for fast start up. The /hybrid switch is new beginning in Windows 8.
/f = This option forces running programs to close without warning. Except with the /l, /p, and /h options, not using shutdown's /f option will present a warning about the pending shut down or restart.
/m \\ computer-name = This shutdown command option specifies the remote computer that you want to execute a shut down or restart on.
/t xxx = This is the time, in seconds, between the execution of the shutdown command and the actual shut down or restart. The time can be anywhere from 0 (immediately) to 315360000 (10 years). If you don't use the /t option then 30 seconds is assumed. The /toption is not available with either the /l, /h, or /p options.
/d [p:|u:]xx:yy = This records a reason for the restart or shut down. The p option indicates a planned restart or shut down and the u a user defined one. The xx and yy options specify major and minor reasons for the shut down or restart, respectively, a list of which you can view by executing the shutdown command without options. If neither p nor u are defined, the shut down or restart will be recorded as unplanned.
/c "comment" = This shutdown command option allows you to leave a comment describing the reason for the shut down or restart. You must include quotes around the comment. The maximum length of the comment is 512 characters.
/? = Use the help switch with the shutdown command to show detailed help about the command's several options. Executing shutdown without any options also displays the help for the command
Shutdown Command Examples:
shutdown /r /d p:0:0
In the above example, the shutdown command is used to restart the computer that's currently being used and records a reason of Other (Planned). The restart is designed by /r and the reason is specified with the /d option with p representing that the restart is planned and the 0:0 indicating an "Other" reason.
Remember, major and minor reason codes on a computer can be displayed by executing shutdown without options and referencing the Reasons on this computer table that's displayed.
shutdown /l
Using the shutdown command as shown here, the current computer is immediately logged off. No warning message is displayed.
shutdown /s /m \\SERVER /d p:0:0 /c
In this shutdown command example, a remote computer named SERVER is being shut down with a recorded reason of Other (Planned).Since no time is designated with the /t option, the shutdown will begin on SERVER 30 seconds after executing the shutdown command.
shutdown /s /t 0
Finally, in this last example, the shutdown command is used to shut down the local computer immediately since we designated a time of zero with the shutdown /t option.
Read More »

C/C++ Compiler

C language is such type of language, every new programmer should know about this. Even this type of languages are hardware related languages but it is also used by talented programmers to interact with hardware.
There are some of the best and top c compilers are given:-

1.Eclispse :- Eclipse is one of the top and best c compiler but it requires the eclipse platform to run.It's Basic functions are basic functionality, syntax highlighting, code completion etc.
Download Link
2.C free :- C free is the best and user interface type of language which is i use.It is he best alternative for 'turbo c' compiler.
Download Link
3.Dev c++ :- It is the most popular compiler used in the world with a lots of features like, supports GCC base compiler, code completion, customizable syntax highlighting editor, etc.
Download Link
4.Turbo c++ :- Turbo c is the world's no.1 c compiler i think. It is the oldest but goldest compiler. so you should try this.
Download Link
Read More »

How to root android phone


Rooting is a process of allowing users of an Android devices like tablet, smart phone and other devices which has android operating system to access the system files.In short Rooting phone means accessing all system files of an Android devices.It is similar as giving administrator privilege in a computer.There are several advantages as well as disadvantages of it.

Why should you root your phone ?
  • To gain all access of your phone.
  • To manage or increase memory of your phone.
  • To avoid limitation of using your phone, because some of the advanced program like Link2SD, Battery Saver(DU), DroidVPN and other program needs root access.
Why Shouldn't you root your phone ?
  •     After rooting, warranty of your phone's will be terminated or avoided.

Steps to be followed :

  • Download SRS Root.
  • Install the app SRS Root in your PC.
  • Make sure that this enabled the resources of other platforms are google play. I can look at the following path: Menu > Settings > Unknown sources (ON).
  • Put your phone on USB Debugging mode (activate checkbox on Settings > Development option > USB debugging or Settings > Applications > Development > USB debugging).
  • Make sure the Android drivers for your phone are installed in your PC.
  • Connect your device to your PC via USB cable.
  • Run SRS Root in your PC.
  • Click on one of the ROOT options in this software, and wait till it’s finished.
  • If you want to check if you are already root or superuser in your Android phone or tablet you can download How To Root app from Google Play Store and click over the padlock in the top-right of the screen. It will show you a message about if your device is rooted or not.

Download sources:

DOWNLOAD SRS Root

DOWNLOAD SRS Root ( Alterntive link)



      Remember, you must root your device at your own risk !!!!
Read More »

C programming Books

C(Let us C):
Let us C is the most popular C Programming Books written by Yashwant Kantekar.He  is an Indian computer science author, known for his books on programming languages. He has authored several books on topics of programming.Let us C is fully created with fully tutorials plus theory.
download Let us C in PDF file.
Download Link

C++(Object Oriented Programming With C++):
It is the most popular programming books in C++ (object oriented programming)by robert lafore.Robert Lafore has been writing books about computer programming since 1982. His best- selling titles include Assembly Language Programming for the IBM PC, C Programming Using Turbo C++, C++ Interactive Course, and Data Structures and Algorithms in Java. Mr. Lafore holds degrees in mathematics and electrical engineering, and has been active in programming since the days of the PDP-5, when 4K of main memory was considered luxurious. His interests include hiking, windsurfing, and recreational mathematics
Download Link
Read More »

How to browse internet securely


1. Download and unzip PD-Proxy at http://www.pdproxy.com/download.htm

2. Open PD-Proxy.exe When a message asks you to install a driver press Yes.

3. Press the connect button and wait till it says that you are connected.

4. Enjoy browsing the internet securely...


Notes:
  1. Make sure the program has administrative privileges when using Vista/7
  2. Make sure the TAP-Win32 Driver is enabled.
Read More »

windows 8 default registry settings

There is default registry files of windows 8, which you can use for restoring the registry settings.
download link is given at the last of the post.

It contains following registry files

  1. Active-X Installer
  2. App Readiness
  3. Application Experience
  4. Application Identity
  5. Application Information
  6. Application Layer Gateway Service
  7. Application Management 
  8. AppX Deployment Service (AppXSVC)
  9. Background Intelligent Transfer Service
  10. Background Tasks Infrastructure Service
  11. Base Filtering Engine
  12. BitLocker Drive Encryption Service
  13. Block Level Backup Engine Service
  14. Bluetooth Support Service
  15. BranchCache
  16. Certificate Propagation
  17. CNG Key Isolation
  18. COM+ Event System 
  19. COM+ System Application
  20. Computer Browser Browser
  21. Credential Manager
  22. Cryptographic Services
  23. DCOM Server Process Launcher
  24. Device Association Service
  25. Device Install Service
  26. Device Setup Manager
  27. DHCP Client
  28. Diagnostic Policy Service
  29. Diagnostic Service Host
  30. Diagnostic System Host
  31. Distributed Link Tracking Client
  32. Distributed Transaction Coordinator
  33. DNS Client
  34. Encrypting File System (EFS)
  35. Extensible Authentication Protocol
  36. Family Safety
  37. Fax
  38. File History Service
  39. Function Discovery Provider Host
  40. Function Discovery Resource Publication
  41. Group Policy Client
  42. Health Key and Certificate Management
  43. HomeGroup Listener
  44. HomeGroup Provider
  45. Human Interface Device Access
  46. Hyper-V Data Exchange Service
  47. Hyper-V Guest Service Interface
  48. Hyper-V Guest Shutdown Service
  49. Hyper-V Heartbeat Service
  50. Hyper-V Remote Destop Virtualization Service
  51. Hyper-V Time Synchronization Service
  52. Hyper-V Volume Shadow Copy Requestor
  53. IKE and AuthIP IPsec Keying Modules
  54. Interactive Services Detection
  55. Internet Connection Sharing (ICS)
  56. IP Helper
  57. IPsec Policy Agent
  58. KtmRm for Distributed Transaction Coordinator
  59. Link-Layer Topology Discovery Mapper
  60. Local Session Manager 
  61. Microsoft Account Sign-in Assistant
  62. Microsoft iSCSI Initiator Service 
  63. Microsoft Software Shadow Copy Provider
  64. Microsoft Storage Spaces SMP 
  65. Multimedia Class Scheduler
  66. Net.Tcp Port Sharing Service
  67. Netlogon
  68. Network Access Protection Agent
  69. Network Connected Devices Auto-Setup 
  70. Network Connection Broker
  71. Network Connections
  72. Network Connectivity Assistant 
  73. Network List Service
  74. Network Location Awareness
  75. Network Store Interface Service 
  76. Offline Files
  77. Optimize drives
  78. Peer Name Resolution Protocol
  79. Peer Networking Grouping
  80. Peer Networking Identity Manager
  81. Performance Counter DLL Host
  82. Performance Logs & Alerts
  83. Plug and Play 
  84. PNRP Machine Name Publication Service
  85. Portable Device Enumerator Service 
  86. Power
  87. Print Spooler
  88. Printer Extensions and Notifications
  89. Problem Reports and Solutions Control Panel Support
  90. Program Compatibility Assistant Service
  91. Quality Windows Audio Video Experience
  92. Remote Access Auto Connection Manager
  93. Remote Access Connection Manager
  94. Remote Desktop Configuration
  95. Remote Desktop Services
  96. Remote Desktop Services 
  97. Remote Procedure Call (RPC) 
  98. Remote Procedure Call (RPC) Locator
  99. Remote Registry
  100. Routing and Remote Access 
  101. RPC Endpoint Mapper
  102. Secondary Logon
  103. Secure Socket Tunneling Protocol Service
  104. Security Accounts Manager
  105. Security Center
  106. Sensor Monitoring Service
  107. Server (LanmanServer)
  108. Shell Hardware Detection
  109. Smart Card 
  110. Smart Card Removal Policy 
  111. SNMP Trap
  112. Software Protection
  113. Spot Verifier
  114. SSDP Discovery
  115. Still Image Acquisition Events
  116. Storage Service 
  117. Superfetch
  118. System Event Notification Service
  119. System Events Broker 
  120. Task Scheduler 
  121. TCP/IP NetBIOS Helper
  122. Telephony 
  123. Themes
  124. Thread Ordering Server
  125. Time Broker
  126. Touch Keyboard and Handwriting Panel Service
  127. UPnP Device Host
  128. User Profile Service
  129. Virtual Disk
  130. Volume Shadow Copy
  131. WebClient
  132. Windows All-User Install Agent 
  133. Windows Audio 
  134. Windows Audio Endpoint Builder 
  135. Windows Backup 
  136. Windows Biometric Service 
  137. Windows Color System 
  138. Windows Connect Now 
  139. Windows Connection Manager
  140. Windows Defender Network Inspection Service 
  141. Windows Defender Service
  142. Windows Driver Foundation - User-mode Driver Framework 
  143. Windows Encryption Provider Host Service 
  144. Windows Error Reporting Service 
  145. Windows Event Collector
  146. Windows Event Log
  147. Windows Firewall 
  148. Windows Font Cache Service 
  149. Windows Image Acquisition (WIA)
  150. Windows Installer 
  151. Windows Management Instrumentation
  152. Windows Media Player Network Sharing Service 
  153. Windows Modules Installer
  154. Windows Presentation Foundation Font Cache 3.0.0.0
  155. Windows Remote Management (WS-Management)
  156. Windows Search
  157. Windows Store Service 
  158. Windows Time
  159. Windows Update
  160. WinHTTP Web Proxy Auto-Discovery Service
  161. Wired AutoConfig
  162. WLAN AutoConfig
  163. WMI Performance Adapter
  164. Work Folders Service
  165. Workstation (LanmanWorkstation)
  166. WWAN AutoConfig
Read More »