i found an answer
http://stackoverflow.com/questions/15991532/c-getline-doesnt-require-namespace-declaration