i am preparing project,in which i want to perform operation like user can only enter number 0 to 9 and can't enter alphabet or special symbol...for i have try many code but can't perform.... any one help me?
i m not working in GUI. isdigit() do not work.
cout<<"Enter only digit";
if i include <ctype.h> it will give error "Function iswdigit() should have prototype" so i delete <ctype.h> and include <wchar.h> file but it also gives 2 error "Unable to open include file 'WCHAR.H'" and second error "Function iswdigit() should have prototype"
Last edited by CSharpque; February 23rd, 2012 at 11:12 PM.