![Difference between .ignore(…) and getline(…) for skipping lines in C++ – Baran (Ghazal) Erfani – Computer Science Student @ University of Regina Difference between .ignore(…) and getline(…) for skipping lines in C++ – Baran (Ghazal) Erfani – Computer Science Student @ University of Regina](https://baranerf.github.io/images/media_ignore/image5.png)
Difference between .ignore(…) and getline(…) for skipping lines in C++ – Baran (Ghazal) Erfani – Computer Science Student @ University of Regina
![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
![I am trying to use the getline function in c++ but it keeps coming up with an error - Stack Overflow I am trying to use the getline function in c++ but it keeps coming up with an error - Stack Overflow](https://i.stack.imgur.com/H1SOR.png)