#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();
gotoxy(X,X);
textcolor(BLUE);
cprintf("%s",str);
for(i=0;i<l;i++)
{
temp=*(str+i);
gotoxy(X+i,X);
printf(" ");
for(j=X;j<50;j++)
{
gotoxy(X+i,j);
z=random(color);
textcolor(z);
cprintf("%c",temp);
delay(100);
gotoxy(X+i,j);
printf(" ");
}
}
getch();
}
You are the cause of my pain
You are the cause of my pain, yet the love I feel for you is my only consolation, my only cure..
Saw the girl, whom once I thought as my best friend
Remembering my classmates, after few years, My eyes were filled with tears, Everyone is busy a lot, No one escaped destiny's plot, Saw the girl, whom once I thought as my best friend, Today she is some body else's girl friend, After months remembered about her for a little while, Heard she is happy, that made me smile.
It’s been raining since you left me
It’s been raining since you left me, now I’m drowning in the flood. You see, I’ve always been a fighter, but without you I give up.
Sweet Heart
Sweetheart.....I miss ......THe whisper of your voice...The warmth of your touch and all the wonderful times that we shared together.......
When I see you
When I see you smile and know that it's not for me, that's when I miss you the most.
Create EID greetings in C Program
Create your own Love-Meter using C programming.
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);
cprintf("\n\n\n\n Welcome To Love-Meter\n");
textcolor(2);
cprintf("* ---------------- * --------------*\n");
textcolor(3);
cprintf(" enter your name:\n");
scanf("%s",&nm1);
textcolor(5);
cprintf(" enter ur partner's:\n");
scanf("%s",nm2);
i=0;
while(nm1[i]!=0)
{
i++;
a1++;
}
i=0;
while(nm2[i]!=0)
{
i++;
a2++;
}
if(a1>a2)
{
n=a1;
m=a2;
}
else
{
n=a2;
m=a1;
}
for(i=0;i<m;i++)
{
for(j=0;j<n;j++)
{
if(nm1[i]==nm2[j])
{
count++;
break;
}
}
}
p=count*100/m;
textcolor(4);
cprintf(" .*'''*.*'''*. ");
cprintf(" * . * ");
cprintf(" * %3d% * ",p);
cprintf(" * * ");
cprintf(" * * ");
cprintf(" * ");
textcolor(9);
cprintf("\n\n\n LOVE percentage is %d%\n",p);
textcolor(10);
cprintf("HaVe A LOVING rElaTiOnShiP");
textcolor(13);
cprintf(" aLL tHe BeSt ...........");
textcolor(14);
cprintf(" \n\n\nto conti. enter 0 or to EXIT 1");
scanf("%d",&sh);
if(sh==0)
goto label;
textcolor(4);
cprintf("\n\n\n\n\n\n\n\n\n\n\n\n\n***** software designed n developed by Solvedcprogram.blogspot.com *****\n\n\n\n\n\n\n\n\n\n\n");
getch();
}
Enjoy C Programming........... :)
Simple way to protect your computer from Viruses and Hackers
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
- Right click on C:Drive(If operating system is installed in C:Drive)---> Properties.
- You will see a new tab as 'Security' click on it!.
- Select User's at 'Group or user name'(You will see all permission on C:Drive)---> Edit it.As per your requirement(Suggestion:Uncheck write permission for all users except Admin)&Apply it .
- Restart it...