The reason using the std namespace string (standard template library(stl) string class) works with == is because the stl string class overloads that operator and causes it to act differently.
Within that overloaded == operator, it does a strcmp call which in turn compares each character within the internal character array that exists within the class.
As stated before, a character array cannot be compared to a character array using the == operator because they are actually a grouping of the base data type char. You could use the == operator on each array offset in the character array, and that would require a loop. Instead of writing loops over and over, every time you need to manipulate a character array, standard C provides the string functions... strcmp, strchr, strrchr, strstr, strrstr, strcat, etc.
There are a whole host of string manipulation functions... here's what I found by checking man pages on a Unix box -- the listing includes short descriptions of what the functions do:
man -k str | grep ^str
strcasecmp(3), strncasecmp(3), strcasecmp_l(3), strncasecmp_l(3) - compare strings, ignoring case
strcat(3) - concatenate strings
strchr(3), strrchr(3) - locate character in string
strcmp(3), strncmp(3) - compare strings
strcoll(3), strcoll_l(3) - compare strings according to current collation
strcpy(3), strncpy(3) - copy strings
strcspn(3) - span the complement of a string
strdup(3) - save a copy of a string
strfmon(3), strfmon_l(3) - convert monetary value to string
strftime(3), strftime_l(3) - format date and time
strict(3pm) - Perl pragma to restrict unsafe constructs
string(ntcl) - Manipulate strings
stringlist(3), sl_init(3), sl_add(3), sl_free(3), sl_find(3) - stringlist manipulation functions
strlcpy(3), strlcat(3) - size-bounded string copying and concatenation
strlen(3) - find length of string
strmode(3) - convert inode status information into a symbolic string
strpbrk(3) - locate multiple characters in string
strptime(3), strptime_l(3) - parse date and time string
strrchr(3) - locate character in string
strsep(3) - separate strings
strspn(3) - span a string
strstr(3), strcasestr(3), strnstr(3), strcasestr_l(3) - locate a substring in a string
strtod(3), strtof(3), strtold(3) - convert ASCII string to floating point
strtod_l(3), strtof_l(3), strtold_l(3) - convert ASCII string to floating point
strtok(3), strtok_r(3) - string tokens
strtol(3), strtoll(3), strtoimax(3), strtoq(3) - convert a string value to a long, long long, intmax_t or quad_t integer
strtol_l(3), strtoll_l(3), strtoimax_l(3), strtoq_l(3), strtoul_l(3), strtoull_l(3), strtoumax_l(3), strtouq_l(3) - convert a string value to a long, long long, intmax_t, quad_t unsigned long, unsigned long long, uintmax_t, or u_quad_t integer
strtoul(3), strtoull(3), strtoumax(3), strtouq(3) - convert a string to an unsigned long, unsigned long long, uintmax_t, or u_quad_t integer
Some of them have very similar functionality... like strcpy will copy a string and strdup will duplicate a string... the difference? strcpy places the copy into memory that's already defined in your program. strdup will allocate new memory and place the string copy into it.
I suggest being familiar with the C character array type string, but also taking advantage of the bonuses that the stl string class can give you ... you can always get a C character array from the stl string class by calling the c_str() method.