Ne.app NeANT
The Ne.app NeANT User module of the NeANT distribution.
isalnum.cpp
Go to the documentation of this file.
1
29#include <iostream> // for cout, endl
30#include <locale> // for isalnum
31
32#include <examples.h>
33
34int main ()
35{
36 std::cout << "Alphanumeric ASCII characters: ";
37
38 // iterate
39 for (char c = '\0'; c != '\177'; ++c)
40 if ((std::isalnum)(c, std::cout.getloc ()))
41 std::cout << c << ' ';
42
43 std::cout << std::endl;
44
45 return 0;
46}
#define c
Definition 17.names.cpp:111
int main()
Definition isalnum.cpp:34