2008-04-14 15:53:43 UTC
char *string = new char;
std::cin >> string;
instead of:
char *string = new char[100];
std::cin >> string;
possibly cause it to segfault or corrupt other variables (I know it will at least hold the data)? I haven't had that happen before, but just to make sure...