On Wed, Sep 10, 2003 at 10:44:00AM +0300, ShowReddy wrote: > WHAT IS THE USE OF PROGRAMIG
Far less than is commonly thought. :-) > I INTERESTED STUDY ABOUT PROGRAMING OK, work out what this does, then demonstrate it: #include <stdio.h> #include <stdlib.h> #include <string.h> int main(void) { int x; char *y; y=(strcmp(((y=getenv("USER")) ? y : "no$USER"), "brian") ? "I must not leave Caps Lock on when posting to the list" : "Romani Ite Domum"); for (x=0;x<100;x++) printf("%s\n", y); } :-) -- Pigeon Be kind to pigeons Get my GPG key here: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0x21C61F7F
pgp00000.pgp
Description: PGP signature