2009-11-25, 11:12 PM
something that may be of use is you need to make sure that you are carful with initalizeing the strings that you pass into your functions, if they are not, the for loop conditions may never fail as the data in of the string may not be 0 therefor it will continue to iterate. This may also be a bad thing if someone types in 0 in the string, as sting[i] will == 0 therefor the for loop will break. As far as your break statement goes, it is eaiser to use a bool and set it to false, then break with an if([I]boo) break;
Just some food for thought... Error handleing is your friend.
Just some food for thought... Error handleing is your friend.

