Sridhar m Machani forced the electrons to say:
>
> while(something)
> {
> sleep(5);
> get_user_input();
> sleep(5);
> act_on_user_input();
> sleep(5);
> }
A couple of years ago, a guy posted to comp.lang.c a piece of code that went
something like this: (The guy was a serious programmer on Borland C)
while (something) {
get user input;
print "Processing...";
delay for a few seconds; /* I believe there is a delay() in Borland C */
do the actual processing;
print "Done!\n";
}
Point being, this practice really exists among Windows programmers (maybe a
minority).
Binand
--
#include <stdio.h> | Binand Raj S.
char *p = "#include <stdio.h>%cchar *p = %c%s%c; | This is a self-
int main(){printf(p,10,34,p,34,10);return 0;}%c"; | printing program.
int main(){printf(p,10,34,p,34,10);return 0;} | Try it!!
--------------------------------------------------------------------
The Linux India Mailing List Archives are now available. Please search
the archive at http://lists.linux-india.org/ before posting your question
to avoid repetition and save bandwidth.