Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.c++ > #9615 > unrolled thread

isdigit

Started byChristopher <cpisz@austin.rr.com>
First post2011-09-01 11:03 -0700
Last post2011-09-02 00:58 +0100
Articles 4 — 3 participants

Back to article view | Back to comp.lang.c++


Contents

  isdigit Christopher <cpisz@austin.rr.com> - 2011-09-01 11:03 -0700
    Re: isdigit Christopher <cpisz@austin.rr.com> - 2011-09-01 11:04 -0700
    Re: isdigit Marc <marc.glisse@gmail.com> - 2011-09-01 18:24 +0000
    Re: isdigit Nobody <nobody@nowhere.com> - 2011-09-02 00:58 +0100

#9615 — isdigit

FromChristopher <cpisz@austin.rr.com>
Date2011-09-01 11:03 -0700
Subjectisdigit
Message-ID<6dddf72b-a7d2-4240-8ab7-b7606a0c97aa@fd21g2000vbb.googlegroups.com>
I see there is a     int std::isdigit(int ch);      function in
<cctype>
Is there a multibyte version?

::iswdigit seems to be a micrsoft function in <ctype.h> or <wchar.h>

[toc] | [next] | [standalone]


#9616

FromChristopher <cpisz@austin.rr.com>
Date2011-09-01 11:04 -0700
Message-ID<b168842f-9ff1-451e-8b67-4a06e23f9781@w28g2000yqw.googlegroups.com>
In reply to#9615
On Sep 1, 1:03 pm, Christopher <cp...@austin.rr.com> wrote:
> I see there is a     int std::isdigit(int ch);      function in
> <cctype>
> Is there a multibyte version?
>
> ::iswdigit seems to be a micrsoft function in <ctype.h> or <wchar.h>

I mean "is there a wide character verison?"

[toc] | [prev] | [next] | [standalone]


#9618

FromMarc <marc.glisse@gmail.com>
Date2011-09-01 18:24 +0000
Message-ID<j3oiku$4r8$1@news-rocq.inria.fr>
In reply to#9615
Christopher  wrote:

> I see there is a     int std::isdigit(int ch);      function in
> <cctype>
> Is there a multibyte version?
> 
> ::iswdigit seems to be a micrsoft function in <ctype.h> or <wchar.h>

std::iswdigit is in <cwctype> (already in C++98).

[toc] | [prev] | [next] | [standalone]


#9637

FromNobody <nobody@nowhere.com>
Date2011-09-02 00:58 +0100
Message-ID<pan.2011.09.01.23.58.29.169000@nowhere.com>
In reply to#9615
On Thu, 01 Sep 2011 11:03:16 -0700, Christopher wrote:

> I see there is a     int std::isdigit(int ch);      function in
> <cctype>
> Is there a multibyte version?

No. There is a wide-character version, iswdigit(), from <cwctype>, but
there isn't a multi-byte version.

> ::iswdigit seems to be a micrsoft function in <ctype.h> or <wchar.h>

C99 has an iswdigit() function, declared in <wctype.h>.

[toc] | [prev] | [standalone]


Back to top | Article view | comp.lang.c++


csiph-web