Thursday, January 23, 2014

C Program to print from 1 to 10 using while loop

#include<stdio.h>
int main()
{
  int counter=1;
  while(counter<=10)
{
    printf("%d\n",counter);
    ++counter;
}
return 0;
}

Program to find Hotness and Coldness of temperature using If statements

#include<stdio.h>
int main()
{
int temp;
printf("\nEnter temperature :");
scanf("%d,&temp");
if(temp>30)
printf("\nHot\n");
if(temp>20)
printf("\nMild\n");
if("temperature>10")
printf("\nCold\n") ;
return 0;
}

Simple Program to add three integers

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

void main()
{
    int x,y,z,result;
    printf("Enter x:\n");
    scanf("%d",&x);
    printf("Enter y:\n");
    scanf("%d",&y);
    printf("Enter z:\n");
    scanf("%d",&z);
    result=x+y+z;
    printf("Result=%d",result);
   
}

Tuesday, January 7, 2014

Your first C Program

#include<stdio.h>
int main()
{
printf("Angry Bird");
return 0;
}

Saturday, December 14, 2013

C++

C++

C++ was developed by bjarne Stroustrup at Bell laboratories.it has its roots in C,providing a number of features that "spurce up" the C language. More important ,it provides capabilities for object oriented programming .C++ has become a dominant language in both industry and colleges.
Many people feel that the best educationa strategy today is to master C,then study C++.

Tuesday, November 12, 2013

Tips To Use IDM For Life Time

Step 1: Download the Latest IDM from idm website or If you already have IDM installed  then its ok. If you don't wanna update your version, Just click on Registration.
Step2: When you click on registration, Now a new dialog(window) appears that is asking for Name, Last Name, Email Address and Serial Key.
Step3: Now Enter you name, last name, email address and in field of Serial Key enter any of the following Keys:
RLDGN-OV9WU-5W589-6VZH1

HUDWE-UO689-6D27B-YM28M

UK3DV-E0MNW-MLQYX-GENA1

398ND-QNAGY-CMMZU-ZPI39

GZLJY-X50S3-0S20D-NFRF9

W3J5U-8U66N-D0B9M-54SLM

EC0Q6-QN7UH-5S3JB-YZMEK

UVQW0-X54FE-QW35Q-SNZF5
FJJTJ-J0FLF-QCVBK-A287M



And click on ok to register.

Step4: After you click ok, it will show an error message that you have registered IDM using fake serial key and IDM will exit. Now here the hack starts.

Step5: Now Go to START => Then go to RUN and type the following text and click enter:




notepad %windir%\system32\drivers\etc\hosts



Note : For Windows 7 users, due to security reasons you will not be able to save hosts file.

so follow this steps :

First of all go to C:/ drive then go to Windows Folder and then go to System32 folder and then go to Drivers folder and then go to Etc Folder, in the Etc folder you will see the hosts file.





Step6 (windows 7 or vista): Now right click on hosts file and go to its properties, then go to security tab and then select your admin account, just below u will see an edit button (in front of change permissions), Now give the user full control and write and read rights and then click on apply and then click on Ok, now u will be able to edit the hosts file and save changes in it.

Step7 (windows 7 or vista):  


Open with Notepad
Now copy the below lines of code and add to hosts file as shown above image box :
127.0.0.1 tonec.com

127.0.0.1 www.tonec.com

127.0.0.1 registeridm.com

127.0.0.1 www.registeridm.com

127.0.0.1 secure.registeridm.com

127.0.0.1 internetdownloadmanager.com

127.0.0.1 www.internetdownloadmanager.com

127.0.0.1 secure.internetdownloadmanager.com

127.0.0.1 mirror.internetdownloadmanager.com

127.0.0.1 mirror2.internetdownloadmanager.com
After adding these piece of code, save the notepad file. And exit from there.
Now start your Internet download manager, and now you IDM has been converted to full version and specially when you update next time, your registration will not expire.
That means it will remain full version for life time and you can update it without any problem in future.