![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://i.redd.it/i-was-following-this-tutorial-on-youtube-to-learn-c-and-v0-d6u6ntcpeh981.png?width=1366&format=png&auto=webp&s=9d812c7c1f0562dd221e322522e2a0e05b3e973c)
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
![I made this "masterpiece" during an exam because std::cin stops at space, and I wanted that space. Backstory in comments (here too). (x-post /r/badcode). : r/programminghorror I made this "masterpiece" during an exam because std::cin stops at space, and I wanted that space. Backstory in comments (here too). (x-post /r/badcode). : r/programminghorror](https://i.redd.it/i0eedqmvrle01.png)
I made this "masterpiece" during an exam because std::cin stops at space, and I wanted that space. Backstory in comments (here too). (x-post /r/badcode). : r/programminghorror
![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)