C Codes
Beginners
C on Unix
Code Snippets
Data Structures
File Operations
Games Graphics
Gnu-Linux
Hardware
Mathematics
Miscellaneous
Small Programs
Sorting
C > Beginners Lab Assignments sample source codes
Program of Falling Characters
Program of Falling Characters #include<stdio.h> #include<conio.h> #include<dos.h> #include<string.h> void main() { int i,j,l,t; char y[20]; clrscr(); printf("Enter a string "); gotoxy(2,2); gets(y); l=strlen(y); t=1; for(j=0;j<l;j++,t++) { for(i=3;i<=24;i++) { clrscr(); puts(y); gotoxy(t,i); printf("%c",y[j]); delay(100); } } clrscr(); getch(); }
Privacy Policy
|
Link to Us
|
Links