Материал из C\C++ эксперт
(разн.) ← Предыдущая | Текущая версия (разн.) | Следующая → (разн.)
int iswalnum(wint_t ch)
#include <stdio.h>
#include <wctype.h>
int main(void)
{
int wc;
for (wc=0; wc <= 0xFF; wc++) {
printf("%3d", wc);
printf(" %#4x ", wc);
printf("%3s", iswalnum(wc) ? "AN" : " ");
putchar("\n");
}
}
/*
0 0
1 0x1
2 0x2
3 0x3
4 0x4
5 0x5
6 0x6
7 0x7
8 0x8
9 0x9
10 0xa
11 0xb
12 0xc
13 0xd
14 0xe
15 0xf
16 0x10
17 0x11
18 0x12
19 0x13
20 0x14
21 0x15
22 0x16
23 0x17
24 0x18
25 0x19
26 0x1a
27 0x1b
28 0x1c
29 0x1d
30 0x1e
31 0x1f
32 0x20
33 0x21
34 0x22
35 0x23
36 0x24
37 0x25
38 0x26
39 0x27
40 0x28
41 0x29
42 0x2a
43 0x2b
44 0x2c
45 0x2d
46 0x2e
47 0x2f
48 0x30 AN
49 0x31 AN
50 0x32 AN
51 0x33 AN
52 0x34 AN
53 0x35 AN
54 0x36 AN
55 0x37 AN
56 0x38 AN
57 0x39 AN
58 0x3a
59 0x3b
60 0x3c
61 0x3d
62 0x3e
63 0x3f
64 0x40
65 0x41 AN
66 0x42 AN
67 0x43 AN
68 0x44 AN
69 0x45 AN
70 0x46 AN
71 0x47 AN
72 0x48 AN
73 0x49 AN
74 0x4a AN
75 0x4b AN
76 0x4c AN
77 0x4d AN
78 0x4e AN
79 0x4f AN
80 0x50 AN
81 0x51 AN
82 0x52 AN
83 0x53 AN
84 0x54 AN
85 0x55 AN
86 0x56 AN
87 0x57 AN
88 0x58 AN
89 0x59 AN
90 0x5a AN
91 0x5b
92 0x5c
93 0x5d
94 0x5e
95 0x5f
96 0x60
97 0x61 AN
98 0x62 AN
99 0x63 AN
100 0x64 AN
101 0x65 AN
102 0x66 AN
103 0x67 AN
104 0x68 AN
105 0x69 AN
106 0x6a AN
107 0x6b AN
108 0x6c AN
109 0x6d AN
110 0x6e AN
111 0x6f AN
112 0x70 AN
113 0x71 AN
114 0x72 AN
115 0x73 AN
116 0x74 AN
117 0x75 AN
118 0x76 AN
119 0x77 AN
120 0x78 AN
121 0x79 AN
122 0x7a AN
123 0x7b
124 0x7c
125 0x7d
126 0x7e
127 0x7f
128 0x80
129 0x81
130 0x82
131 0x83
132 0x84
133 0x85
134 0x86
135 0x87
136 0x88
137 0x89
138 0x8a
139 0x8b
140 0x8c
141 0x8d
142 0x8e
143 0x8f
144 0x90
145 0x91
146 0x92
147 0x93
148 0x94
149 0x95
150 0x96
151 0x97
152 0x98
153 0x99
154 0x9a
155 0x9b
156 0x9c
157 0x9d
158 0x9e
159 0x9f
160 0xa0
161 0xa1
162 0xa2
163 0xa3
164 0xa4
165 0xa5
166 0xa6
167 0xa7
168 0xa8
169 0xa9
170 0xaa
171 0xab
172 0xac
173 0xad
174 0xae
175 0xaf
176 0xb0
177 0xb1
178 0xb2 AN
179 0xb3 AN
180 0xb4
181 0xb5
182 0xb6
183 0xb7
184 0xb8
185 0xb9 AN
186 0xba
187 0xbb
188 0xbc
189 0xbd
190 0xbe
191 0xbf
192 0xc0 AN
193 0xc1 AN
194 0xc2 AN
195 0xc3 AN
196 0xc4 AN
197 0xc5 AN
198 0xc6 AN
199 0xc7 AN
200 0xc8 AN
201 0xc9 AN
202 0xca AN
203 0xcb AN
204 0xcc AN
205 0xcd AN
206 0xce AN
207 0xcf AN
208 0xd0 AN
209 0xd1 AN
210 0xd2 AN
211 0xd3 AN
212 0xd4 AN
213 0xd5 AN
214 0xd6 AN
215 0xd7
216 0xd8 AN
217 0xd9 AN
218 0xda AN
219 0xdb AN
220 0xdc AN
221 0xdd AN
222 0xde AN
223 0xdf AN
224 0xe0 AN
225 0xe1 AN
226 0xe2 AN
227 0xe3 AN
228 0xe4 AN
229 0xe5 AN
230 0xe6 AN
231 0xe7 AN
232 0xe8 AN
233 0xe9 AN
234 0xea AN
235 0xeb AN
236 0xec AN
237 0xed AN
238 0xee AN
239 0xef AN
240 0xf0 AN
241 0xf1 AN
242 0xf2 AN
243 0xf3 AN
244 0xf4 AN
245 0xf5 AN
246 0xf6 AN
247 0xf7
248 0xf8 AN
249 0xf9 AN
250 0xfa AN
251 0xfb AN
252 0xfc AN
253 0xfd AN
254 0xfe AN
255 0xff AN
*/