cin.getline function

I was just wondering if anyone could explain the cin.getline function in a way I can understand.
My book and the tutorials I tried using did not explain it very well, it just explained the syntax and how it is in the iostream header file.
Like what exactly does it do, how do I use it (like examples where you would need to call upon this function, and is it's only use for c-strings?

If anyone could help me I would greatly appreciate it.
Last edited on
Topic archived. No new replies allowed.