Reading list of strings and storing in 2d char arrays

What are cin.get() and cin.getline() used for?

The getline () function reads a whole line, and using the newline character transmitted by the Enter key to mark the end of input. The get () function is much like getline () but rather than read and discard the newline character, get () leaves that character in the input queue