Originally Posted by Geudens
When I try your code, it gives an error on this line.
fatal error C1083: Cannot open include file: 'ctype': No such file or directory
#include <ctype.h> // try adding the .h some compilers don't like plain old ctype
Although it doesn't appear to be on my computer but make the 'c' a capital 'C'.
ctype is part of the standard C Run Time Library I would be surprised that your compiler wouldn't have it.
All standard headers should be in a directory called \include which should be in the compilers directory in most cases. If you find it in another directory than you have a couple of options.
Explicitly define the path:
If you find it in the next directory deeper of the include, then you can do this:
Remember to use the directory slashes in the way your OS expects them. Here I used windows style.
One other far fetched idea is that for some reason your compiler does not have the include in it's environment path. But I seriously doubt that since it appears the other headers are working.
The portability for the ctype functions goes across all OS's. So even if your on another OS other than windows you should have it.