getline

what does (cin.getline) actually do?
ok
so this is part of a void function
1
2
3
4
5
6
7
char *p = sentencePtr;

       while ( *p != '\0' )
       ++p;

        while ( p != sentencePtr )
        cout.put ( *--p );


is the * a wild character?
and what does the ++p and --P mean?
Topic archived. No new replies allowed.