![I was following this tutorial on youtube to learn c++, and this guy writes getline without "std: basic_istream: :" and when i do it, there is an error. Sorry if its a I was following this tutorial on youtube to learn c++, and this guy writes getline without "std: basic_istream: :" and when i do it, there is an error. Sorry if its a](https://preview.redd.it/i-was-following-this-tutorial-on-youtube-to-learn-c-and-v0-j4rlon4reh981.png?width=640&crop=smart&auto=webp&s=a740a3e4078efc5bb214071fbf9086a962e12f63)
I was following this tutorial on youtube to learn c++, and this guy writes getline without "std: basic_istream: :" and when i do it, there is an error. Sorry if its a
![Read a line of string with getline(), a character with get(), output with put() via cin - C++ File Stream Read a line of string with getline(), a character with get(), output with put() via cin - C++ File Stream](http://www.java2s.com/example/cpp/file-stream/read-a-line-of-string-with-getline-a-character-with-get-output-w-a6999.png)
Read a line of string with getline(), a character with get(), output with put() via cin - C++ File Stream
![Lec 04 C++ Taking input Using getline cin.getline with Example | C++ Programming | in Urdu/Hindi - YouTube Lec 04 C++ Taking input Using getline cin.getline with Example | C++ Programming | in Urdu/Hindi - YouTube](https://i.ytimg.com/vi/KvNckr5V3iU/maxresdefault.jpg)
Lec 04 C++ Taking input Using getline cin.getline with Example | C++ Programming | in Urdu/Hindi - YouTube
![David Hemsworth on Twitter: "In the tutorials today for C++ they went over stings discussing string lines and getline you can see the examples below. Of using strings couts and cin's. #CodeNewbie # David Hemsworth on Twitter: "In the tutorials today for C++ they went over stings discussing string lines and getline you can see the examples below. Of using strings couts and cin's. #CodeNewbie #](https://pbs.twimg.com/media/E4aUZdAWQAQIQiW.png)