0

Comapre a string with a word

I want to compare a string with a word,i tried to use the == but the compliler give me an error An example: https://code.sololearn.com/c2cx6JZsctub/?ref=app

5th Dec 2019, 12:41 AM
Daniel Vetter
Daniel Vetter - avatar
3 odpowiedzi
+ 3
Disclaimer: I'm not well read in C++ so I can't really answer specific questions https://code.sololearn.com/cEDo1u6vvgpT/?ref=app
5th Dec 2019, 1:11 AM
Odyel
Odyel - avatar
+ 1
stamb thanks for catching that, I fixed it
5th Dec 2019, 3:17 AM
Odyel
Odyel - avatar
0
Odyel, should be ==, see.
5th Dec 2019, 3:15 AM
stamb
stamb - avatar