![c++ - Why do we need to send reference of cin to a function instead of just using Cin in that function? - Stack Overflow c++ - Why do we need to send reference of cin to a function instead of just using Cin in that function? - Stack Overflow](https://i.stack.imgur.com/8SisH.jpg)
c++ - Why do we need to send reference of cin to a function instead of just using Cin in that function? - Stack Overflow
![4.Classes and Objects in c++ defining a student class with data members and member functions - YouTube 4.Classes and Objects in c++ defining a student class with data members and member functions - YouTube](https://i.ytimg.com/vi/ZPkgTBJMH8U/maxresdefault.jpg)
4.Classes and Objects in c++ defining a student class with data members and member functions - YouTube
![Data Type string #include // C++ String class string str1, str2; // Default constructor cin >> str1 >> str2; cout << “str1: ” << str1 << endl << “str2: - ppt download Data Type string #include // C++ String class string str1, str2; // Default constructor cin >> str1 >> str2; cout << “str1: ” << str1 << endl << “str2: - ppt download](https://images.slideplayer.com/24/7244684/slides/slide_4.jpg)
Data Type string #include // C++ String class string str1, str2; // Default constructor cin >> str1 >> str2; cout << “str1: ” << str1 << endl << “str2: - ppt download
![C++ Introduction : C++ compilation Standard Input/Output: cin, cout Functions Array, Pointer class File Input/Output. - ppt download C++ Introduction : C++ compilation Standard Input/Output: cin, cout Functions Array, Pointer class File Input/Output. - ppt download](https://slideplayer.com/11/3131131/big_thumb.jpg)