you could do it manually... personally, i dont use the string data tye cuz it takes away all your power (muwhahaha). anywayz, use a char array and check the contents:
Code:
int i;
char s[100];
cin.getline( s, '\n' );
for( i = -1; i != strlen( s ) + 1; i++ ){
//strlen checks the length of the string
if( s[i] != '1' && s[i] != '2' && s[i] != '3' ){
//your string has a symbol or whatever
//this just check 1, 2, and 3, but you get the point (i hope)
.
.
.
break; //breaks out of the for loop
}
}
remember to include string.h
im probably gonna receive some criticism for this post because some ppl might think the code "inefficient", but computers now are like 2ghz. welcome to reality folks!
also, scanf is stdio.h not conio.h