Thursday, June 23, 2011

Shiny Text-C Program

0 comments
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;placelen;place++)/len;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); ...
Continue reading →