cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Windows Programming
MFC - CString doesn't accept special cha
MFC - CString doesn't accept special characters
Aug 6, 2010 at 10:01pm UTC
Fresh Grass
(63)
Is there any way to make CString in a MFC application accept special characters? The application crashes whenever user types unusual characters. I can replace specific characters, but that's not convenient at all, because there are too many of them.
Aug 7, 2010 at 5:05pm UTC
Fresh Grass
(63)
For all that might have the same problem:
The problem was with isdigit(char) function. I've written my own function for digit check and now it works without issues.
So the problem might be with one of the functions you're using.
Topic archived. No new replies allowed.