I_Interface
Anonymous
I_Interface
Anonymous
Anonymous
From cpp reference:
Anonymous
Notice that the istream extraction operations use whitespaces as separators; Therefore, this operation will only extract what can be considered a word from the stream. To extract entire lines of text, see the string overload of global function getline.
Anonymous
Anonymous
No, std::getline retusn an istream&
Anonymous
You'd have to do
Anonymous
std::string s;
std::getline(std::cin, s);
I_Interface
ah, i have a better var
I_Interface
forgot about it
Anonymous
Anonymous
It gets a line from the istream specified in the first argument
Anonymous
And puts it into the string in the second argument
Anonymous
I_Interface
std::string s = [] { std::string str; std::getline(std::cin, str); return str; } ();
I_Interface
variant with lambda
Anonymous
I_Interface
Anonymous
Well, possible, but I don't know whether it would be efficient at all.
Anonymous
Anonymous
I don't think he's ready for lambda functions.
Anonymous
Does he even use C++11?
I_Interface
Anonymous
shanmupositivity❤
shanmupositivity❤
ans for this plzz
I_Interface
Anonymous
We don't do homework.
Anonymous
A C++ standard
Anonymous
Which introduced many things
I_Interface
Anonymous
Like lambda functions, smart pointers
Anonymous
Not many, I should read one day what they promise.
Anonymous
Anonymous
I've seen the modules they want to introduce.
Anonymous
Seems cool enough.
Anonymous
Anonymous
Hm, it should support c++11 then I thinkm
Anonymous
In a non-standard way probably, since it's microsoft, but still
I_Interface
Anonymous
Sounds interesting.
Anonymous
Well, we'll have to wait at least a year
Anonymous
Probably more until every compiler supports the new additions.
I_Interface
For C++20
Anonymous
Yeah, it will make C++ even greater again.
Azzam
Cppcon's tickets are yet available or not?
I_Interface
Anonymous
Has someone here a program with GUI?
Azzam
Anonymous
Anonymous
Anonymous
Hayk
Anonymous
I use Qt
It's not free, right?
Hayk
Anonymous
Wait a moment, can you pm me?
I want some details
Hayk
And for some more stuff you need to purchase the commercial license. But surely you won't need it.
Tejas
Hey need help
Anonymous
Say
Tejas
I am a beginner in programming
Tejas
I m very bad at logics
Tejas
Suggest me some games
Tejas
By which i can improve
Tejas
?
Tejas
Or how can i improve in logics
Hayk
Tejas
Okay some more
Anonymous
Hi I need assistance please