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


Groups > comp.lang.c++ > #9637

Re: isdigit

From Nobody <nobody@nowhere.com>
Subject Re: isdigit
Date 2011-09-02 00:58 +0100
Message-Id <pan.2011.09.01.23.58.29.169000@nowhere.com>
Newsgroups comp.lang.c++
References <6dddf72b-a7d2-4240-8ab7-b7606a0c97aa@fd21g2000vbb.googlegroups.com>
Organization Zen Internet

Show all headers | View raw


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>.

Back to comp.lang.c++ | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

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

csiph-web