Input in a char pointer

How to get a whole string input from a user with whitespace charaters and store it in a character pointer?


Please Please Help me
use the cin.getline(/*string you want for the input*/,/*max lenght*/)
Last edited on
Thanks I got the point
Topic archived. No new replies allowed.