hi everybody...
i want to test to see if an input string
is part of an array of srtings
for example
if I declare a string of 8 months:
how do i test if a cin'd month name is part of that setCode:const char *months[8] = {"January", "February", "March", "April", "May", "June", "July", "August"};
(so i can have a trap if invalid data is entered)
I have tried many combination of string compare and am not having any luck
thanks
surfer grrl



LinkBack URL
About LinkBacks



PLEASE help!!
.