Path: utzoo!utgpu!watserv1!watmath!att!rutgers!ucsd!swrinde!zaphod.mps.ohio-state.edu!uakari.primate.wisc.edu!aplcen!aplcomm!uunet!charyb!will From: will@kfw.COM (Will Crowder) Newsgroups: comp.lang.c Subject: Re: Is there a good example of how toupper() works? Message-ID: <1990Oct17.224315.278@kfw.COM> Date: 17 Oct 90 22:43:15 GMT References: <2466@ux.acs.umn.edu> <15857@csli.Stanford.EDU> <1990Oct16.221035.10764@nntp-server.caltech.edu> <1990Oct17.165509.10914@kfw.COM> Reply-To: will@kfw.com (Will Crowder) Organization: KFW Corporation, Newbury Park, CA Lines: 24 In article <1990Oct17.165509.10914@kfw.COM> I wrote: >I sent the poster a heavily commented version of the following, along with >a blanket apology for the ridiculously large number of partially or completely >incorrect answers to his very simple question. Mea culpa. First I go off and complain about partially or completely incorrect answers to his simple question, and then, as has been pointed out to my in e-mail by that my solution also contains an error: char *duh = "Hello"; duh points to a constant string. Should've been char duh[] = "Hello"; Now, maybe I just didn't want to start a whole go-around again about the difference between the two, or maybe I was too lazy to explain, or maybe (and this is the most likely) I just overlooked it. Oooopppps! Will