i've been looking for this for a while, but unfortunatelly not too many descriptive insights.....
well,.... correct me if i am wrong ......
i need to cast from integer to character...
i did............
considering it is possible, so far so good... at least the compiler isn't complaining...Code:
int Selection;
char Choice;
Choice = (char) Selection;
the trick is, after converting that "int" to "char" i need to check whether that converted "Choice" is a numeric character......
so i write:
Code:
#include <ctype.h>
if(isdigit(Choice))
cout << "is digit";
.......all good
after doing all of the above the compiler is all happy however the output is nowhere near... nothing works properly.....
maybe i am doing this wrong ....
any help would be appreciated
Regards,
mathe917