Re: <ctype.h> toLower()

From: ellie fant (pcrcutitout1000011_at_uko2.co.uk)
Date: 11/28/03


Date: Fri, 28 Nov 2003 08:29:32 -0000


"Richard Heathfield" <invalid@address.co.uk.invalid> wrote in message
news:3fc6e53e@news2.power.net.uk...
> ellie fant wrote:
>
> > The reason you gave (" the code is non-portable") is not a good reason
for
> > stating the code was incorrect or flawed. Code is only incorrect if it
not
> > suitable for the purpose it was intended or if it is does not comply
with
> > the languages standards.
>
> Your code was not a suitable general solution for the problem of
converting
> of characters to lower case, because it did not comply with the language
> standard but instead relied on a trick that doesn't work on all platforms.

Are you saying my code did not comply to the standards now?

My code wasn't intended to be a general solution for converting characters
to lowercase.
And my code contained no tricks it simply OR'ed a lowercase ASCII character
with 32 to get the uppercase equivelent.

>
> And, in case you've forgotten, the original question was to do with
> tolower(): "How do I apply [tolower()] to an array of characters?"

The topic of this discussion is <ctype.h> tolower() . The original question
had been answered numerous times and my post was not trying to re-answer the
original question my post was expanding the discussion. If your idea of a
discussion is simply asking a question or answering one then you are
obviously of very low intelligence.

>
> So that was the intended purpose, and that was the purpose your code
utterly
> failed to achieve. And therefore your code was incorrect.

<spits out coffeee and splutters>
lol
...thanks for telling me the intent of my post you obviously know better
than me.
lol

You are getting desperate now you idiot.



Relevant Pages

  • Re: <ctype.h> toLower()
    ... > stating the code was incorrect or flawed. ... > the languages standards. ... of characters to lower case, because it did not comply with the language ... So that was the intended purpose, and that was the purpose your code utterly ...
    (alt.comp.lang.learn.c-cpp)
  • Re: how to blank the screen when any submit-type buttons clicked
    ... > The only element in HTML whose purpose is to submit a form is an <input ... > intended uses and to use them for anything else is incorrect usage. ... As for the lazy users.. ...
    (comp.lang.javascript)
  • Re: Dylans wacky last radio show
    ... There's a difference between someone A) using incorrect grammar because ... I ain't gonna say nothin' more. ... Well, the thing is, I do it sometimes not on purpose, but I am ...
    (rec.music.dylan)
  • [SOLVED:] Re: dumb question
    ... On 1/4/2012 12:46 AM, Ed Greshko wrote: ... in directories that tend to clue one in on the purpose. ... plus resolving my original question, ...
    (Fedora)
  • Re: What would be your choice?
    ... I thought your original question was, "I'm looking for a guitar and ... Unless I'm incorrect again, you are asking "I have two guitars and ... A fair number of folks took the time to reply, ...
    (rec.music.makers.guitar.acoustic)