I want to learn more about getline function, please refer helpful sites…
this is documentation
http://www.cplusplus.com/reference/string/string/getline/