I am confused. When I use getline() everything works fine. But when I change it to get(), I get an error message stating it was not declared in this scope:


getline(input, nonterm[index2][++index], TERMINATE ); //works fine.

get(input, nonterm[index2][++index], TERMINATE ); //error get not declared in this scope.


The reason I am changing getline() to get() is because I don't want the delimiter discarded. Any help would be great. Thanks.