Everyone I'm a beginner for learning Computer Science and now I've already learnt some basic of the language C language.
In the C language we can use fgets
to take multiple words as an input. What is the C++ equivalent function to take such type of input?