Re: <ctype.h> toLower()
From: Richard Heathfield (dontmail_at_address.co.uk.invalid)
Date: 12/06/03
- Next message: sparks: "I sure hope someone can help with this. how to use getline and multible arrays"
- Previous message: Richard Heathfield: "Re: <ctype.h> toLower()"
- In reply to: Jumbo: "Re: <ctype.h> toLower()"
- Next in thread: Jumbo: "Re: <ctype.h> toLower()"
- Reply: Jumbo: "Re: <ctype.h> toLower()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sat, 6 Dec 2003 13:11:00 +0000 (UTC)
Jumbo wrote:
>
> "Richard Heathfield" <dontmail@address.co.uk.invalid> wrote in message
> news:bqs2vr$ao3$1@titan.btinternet.com...
>> Jumbo wrote:
>> > "Richard Heathfield" <dontmail@address.co.uk.invalid> wrote in message
>> > news:bqrtvu$ane$1@sparta.btinternet.com...
>> >> Jumbo wrote:
>> >>
>> >> > I don't agree that it will work in every case as it will
>> >> > not work in object-code -libraries.
>> >>
>>
>> I have already explained that I have plenty of libraries
>> which contain calls to tolower(), and they work just fine.
>> You said this was impossible: "it will not work in
>> object-code -libraries". And yet my libraries continue
>> to work correctly. [...]
>
> What machine/OS/compiler was your object code compiled on ?
The question is meaningless, since (a) it is source code, not object code,
which is compiled; the /output/ of the compilation is object code, and (b)
it doesn't matter what machine my code is compiled on, as long as it's
compiled by a conforming hosted implementation (and, in many cases, it
doesn't even have to be a /hosted/ implementation).
> And does it contain a lookup table implementation or another
> implementation?
Who cares, as long as it's a conforming implementation?
>> > You can't beat a good old hand rolled now and then ;-)
>>
>> On this occasion, however, the pre-packaged article is very much the
>> superior brand.
> Only if you like pretty packages.
Pretty packages that work everywhere are preferable to ugly packages that
work only on a very restricted set of environments.
<snip>
>> > We're talking about writing C or C++ code that works(hopefully) on all
>> > ASCII based platforms.
>>
>> Then find a newsgroup where such discussion is topical. Here, we don't
>> restrict ourselves to ASCII.
>>
> Speak for yourself
I do, just as you speak only for yourself.
> ASCII is non restrictive is a very common character set standards which
> Unicode and other standards support fully and there is only one other
> standard that is know, unless you have any others, and that is EBCDIC
> which is hardly ever used
I've used EBCDIC on - hmm, let me think - six different sites, five of them
being large commercial organisations. EBCDIC is still in wide use in
corporate environments, and will remain so for the foreseeable future,
because EBCDIC is what IBM mainframe hardware uses, and IBM mainframe
hardware is what many large corporations insist on using, for the excellent
reason that mainframes are fast, powerful, reliable, and durable.
> It was introduced in 1964 for pete's sake
> It is only applicable for 1 kind of machine. All others are ASCII if they
> have a character set AFAIK.
<sigh depth="ironic">
All The World's A Vax.
</sigh>
> ASCII is the standard now
It's /a/ standard, not /the/ standard.
> and it's an important issue to be aware of when
> learning C or C++.
No, it's an important issue to be aware of when programming on ASCII
machines. It's irrelevant to C and C++, and therefore it's irrelevant to
this newsgroup.
> There is no more approriate newsgroup to discuss how C++ interphases with
> ASCII.
A newsgroup where ASCII is topical would be a better match.
> Why don't you learn to a bit more flexible.
It is precisely because I want my code to be flexible that I don't restrict
it to ASCII machines only.
-- Richard Heathfield : binary@eton.powernet.co.uk "Usenet is a strange place." - Dennis M Ritchie, 29 July 1999. C FAQ: http://www.eskimo.com/~scs/C-faq/top.html K&R answers, C books, etc: http://users.powernet.co.uk/eton
- Next message: sparks: "I sure hope someone can help with this. how to use getline and multible arrays"
- Previous message: Richard Heathfield: "Re: <ctype.h> toLower()"
- In reply to: Jumbo: "Re: <ctype.h> toLower()"
- Next in thread: Jumbo: "Re: <ctype.h> toLower()"
- Reply: Jumbo: "Re: <ctype.h> toLower()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|