Monday, August 29, 2011

Create EID greetings in C Program

0 comments
Source Code: #include<stdio.h> #include<conio.h> #include<dos.h> #include<string.h> #include<stdlib.h> #define X 25 void main() {          int i,j,l,t,color=10,z;          char temp;          char* str="Eid Mubarak!";   /*You can change the text here what ever you want to print*/          clrscr();          gotoxy(X,X-1);          l=strlen(str);          clrscr();       ...
Continue reading →
Sunday, August 28, 2011

Create your own Love-Meter using C programming.

0 comments
Create your own love-meter.Copy and paste the below code into your C compiler(Recommended:Borland C).Then compile and execute the file. Source Code: #include<stdlib.h> #include<stdio.h> #include<graphics.h> main() {  int sh,q,w,i=0,j=0,k,a1,a2,count,n,m,l,p,x,y,z,gm,gn;     char nm1[20],nm2[20];     clrscr();     label:clrscr();     a1=0;     a2=0;     count=0;     textcolor(4);     cprintf("__________________________________________");     i=0;     textcolor(1);   ...
Continue reading →
Thursday, August 25, 2011

Simple way to protect your computer from Viruses and Hackers

1 comments
How do you protect your computer from viruses and hackers?. Here is the simple step to prevent attack from viruses and hackers.. This trick will against hackers and viruses. CAUTION:You must be admin or must have admin privileges. Step 1: Go to 'Folder option' in 'control panel'---> 'View tab' Uncheck 'Use Simple file sharing'---> Apply and OK Step 2: Right click on C:Drive(If operating system is installed in C:Drive)---> Properties. You ...
Continue reading →
Wednesday, August 24, 2011

C Program to accept a password

0 comments
This is a simple login C Program.While accepting password it makes each character using "*" symbol and display the password in the next line after the user hits the enter key.It also accept backspace and acts accordingly. SOURCE CODE: # include<stdio.h> #include<conio.h> char pw[25],ch; int i; void main(); { clrscr(); puts("Enter your Password"); while(1) { if(i<0)  i=0;  ch=qetch();  if(ch==13)  break;  if(ch==8)  {  putch('b');  putch(null);  putch('b');  -i;  continue;  }  pw[i++]=ch;  ch='*';&nb ...
Continue reading →