String Streams (sstream) | Introduction to Programming with C++ | Part 46

preview_player
Показать описание
String streams or sstream are very useful.
Different ways to convert into strings in C++
1) By using stringstream class
2) By using to_string() method

Plugins🔌
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

SUBSCRIBE🔔
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Relevancy dies in a heartbeat, and I would love to sustain this channel in the long run. Every subscriber counts and it really means the world if you were one of them. So please SUBSCRIBE to my CHANNEL.

Most Engrossing Videos🎬
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬

Gear⚙️
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Laptop: HP Spectre 13
Microphone: PC Mic

Mentions👥
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
Рекомендации по теме
Комментарии
Автор

I just went through a lot of videos but this made everything so clear.. Thank you

nikhilsinghparmar
Автор

Thanks Kumail Nanjiani. Really went method for Silicon Valley.

mehershrishtinigam
Автор

well explain dude really appreciable!!

ankitris
Автор

What's the difference between istringstream, ostringstream and stringstream? Why not use stringstream in every case?

pawanthanay
Автор

What happens if you add cout<<int_num+"1"<<endl instead of cout<<int_num+1<<endl? Does it shows error or 201?
By the way this video is really useful to me.😄

prakashb
Автор

Let's say
The input is : 20 60 77 88 (as a string
and we have to return its addition (20+60+77+88)
So how to convert that integers fro only one string?
I am confused, can you please help? 🙏

Coder_DhruvArora
Автор

Although, Video is nice, But
I've some doubts, What is the difference between << and >> in sstream?

manavroy
join shbcf.ru