Point the Way
#include <conio.h>
#include <iostream.h>
void main()
{
char letter='M';
for(int i=1; i<=20; i++)
{
gotoxy(i,10);
cout<<letter;
for(long int j=1; j<=100000000; j++)
{
}
gotoxy(i,10);
cout<<" ";
}
getch();
}
Letters Fall
#include <iostream.h>
#include <conio.h>
void main()
{
char str[1000];
int j,i;
long int k;
cout<<"input word= ";cin.getline(str,sizeof(str));
clrscr();
gotoxy(20,10);
cout<<str;
for(i=0; i<=strlen(str)-1; i++)
{
gotoxy(20+i,10);
cout<<" ";
for(j=1; j<=10; j++)
{
gotoxy(20+i,10+j);
cout<<str[i];
for(k=1; k<=100000000; k++)
{
}
gotoxy(20+i,10+j);
cout<<" ";
}
gotoxy(20+i,10+j);
cout<<str[i];
}
getch();
}
good luck with my friends :)
Tidak ada komentar:
Posting Komentar