0
Why cin.getline() function is passed in c++? And what is the rule when we want to use getline() function?
when my code is full, getline() cant work properly.
11 ответов
+ 4
It may be that your other code contains a cin operation. Then you need to use ignore().
https://www.sololearn.com/discuss/372045/?ref=app
+ 3
@joelio alex
Master? I am not fit to be one, and I am still learning... 😅
Ill be your friend, if you want...
+ 2
Here is an example
https://code.sololearn.com/cp32oQ9205NP/?ref=app
+ 2
I cannot help you with that.
You need to show your code.
+ 2
@joelio alex
Sorry, but I can't share my number. Ill help you here itself, whenever you need it.
+ 1
@Kinshuk Vasisht: oke, will u be my master?
+ 1
nice offer. yes of course
0
i know that code, but when i put more code on that case, it goes wrong.
0
oke, nice solutions. lets see the result tomorrow
0
kinshuk, may i hv ur whatsapp number?
0
thanks manual