Mail Archives: djgpp/1996/12/06/12:47:08
Mike McLean wrote:
>
> if (" %s",lgname = "New")
> printf("welcome");
>
If that is in your book for learning the C language, then you should
look for a betther book. The above code should be:
if (strcmp(lgname,"New") == 0)
printf("welcome");
Robert
--
*****************************************************************
* Robert Hoehne, Fakultaet fuer Mathematik, TU-Chemnitz-Zwickau *
* Post: Am Berg 3, D-09573 Dittmannsdorf *
* e-Mail: Robert DOT Hoehne AT Mathematik DOT TU-Chemnitz DOT DE *
* WWW: http://www.tu-chemnitz.de/~rho *
*****************************************************************
- Raw text -