cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Pointer: is it pointing to an alphanumer
Pointer: is it pointing to an alphanumeric character?
Nov 19, 2008 at 2:56pm UTC
acevans2
(27)
Hello guys.
How might I go about deciding if
"ptr1 points to an alphanumeric"?
That's the condition for a loop in an assignment I have. I am trying to cut punctuation marks out of a string that I'm reading.
Nov 19, 2008 at 3:21pm UTC
Bazzy
(6281)
Try
isalnum()
http://www.cplusplus.com/reference/clibrary/cctype/isalnum.html
Nov 20, 2008 at 7:51am UTC
anders43
(125)
or ! ispunct( int )
Topic archived. No new replies allowed.