View Single Post
Old Feb 17th, 2005, 10:58 AM   #3
hipolito
Programmer
 
Join Date: Feb 2005
Posts: 41
Rep Power: 0 hipolito is on a distinguished road
thx, but.....

Well, thx a lot, it was realy what I was looking for, but still I got an error when I enter a number... segmentation error...

This is what I have:

printf("\nType number or name: ");
scanf("%d", value);
if (isdigit(value))
printf("\nNumber");
else
printf("\nLetter");

What should I do?

Thx again.
hipolito is offline   Reply With Quote