Ok, well you aren't really doing any of that. Can you use a char array? Do you know of the ctype library and the functions isdigit and isalpha? Those would be great starting points.