i want you to answer in details
In turbo c programming how can i make a string appear in the center like a marquee?
here is a simple example, modify it as you want
#include%26lt;stdio.h%26gt;
#include%26lt;conio.h%26gt;
void main()
{
int i;
clrscr();
getch();
for(i=0;i%26lt;40;i++)
{
textcolor(BLACK);
gotoxy(i-1,10);
cprintf("Sachin");
textcolor(GREEN);
gotoxy(i,10);
cprintf("Sachin");
delay(50);
}
getch();
}
gerbera
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment