We can able to create shiny text using simple and small C code.Copy and Paste the below code into your TURBO C++ 3.0 complier.Run the program.You can see its effect on colored monitor.
Source Code:
#include<stdio.h>
#include <conio.h>
int main()
{
char *name;
int len,count,place,row;
clrscr();
textbackground(0);
printf("\n Enter Your Name : ");
gets(name);
len=strlen(name); // Find the Length of name
for(count=0;count<=len;count++)
{
row=30;
for(place=0;place
{
if(place==count)
{
textcolor(13);
gotoxy(row++,10);
cprintf("%c",name[count]);
}
else
{
textcolor(10);
gotoxy(row++,10);
cprintf("%c",name[place]);
}
}
delay(200); // Wait for 200 milliseconds
}
return 0;
}