0

how read a word from a sentence(string) in c++

e.g. "Sally knows everything" in this sentence I want to read only word individually i want to read only "knows"

18th Apr 2020, 6:04 PM
Ameer Wajid Ali
Ameer Wajid Ali - avatar
3 odpowiedzi
+ 1
Read character by character until you find space(32)
18th Apr 2020, 6:10 PM
Bharath nayak
Bharath nayak - avatar
0
bhai ye mujhe pata but I need a method that read word not charactes
18th Apr 2020, 6:23 PM
Ameer Wajid Ali
Ameer Wajid Ali - avatar