Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!samsung!zaphod.mps.ohio-state.edu!ub!rutgers!rochester!pt.cs.cmu.edu!o.gp.cs.cmu.edu!andrew.cmu.edu!jh4o+ From: jh4o+@andrew.cmu.edu (Jeffrey T. Hutzelman) Newsgroups: comp.lang.c Subject: Re: Is there a good example of how toupper() works? Message-ID: Date: 17 Oct 90 14:40:25 GMT References: <2466@ux.acs.umn.edu> Organization: Carnegie Mellon, Pittsburgh, PA Lines: 14 In-Reply-To: <2466@ux.acs.umn.edu> Try this one: void strupper(char *str) { for (;*str!='\0';str++) *str=toupper(*str); } ----------------- Jeffrey Hutzelman America Online: JeffreyH11 Internet/BITNET:jh4o+@andrew.cmu.edu, jhutz@drycas.club.cc.cmu.edu, jh4o@cmuccvma >> Apple // Forever!!! <<