Original Post
I'm trying to convert an old program from arrays of chars to strings. Two questions: 1)how do i do strncmp with two strings? 2)how do i do strdup with strings, or does the std allocate the new string by itself? Thanks.