Sorry in advance for the ignorance. I don\'t fully understand how to compare char arrays in C. I was originally comparing two char arrays in c with the simple ==
==
I would recommend to use strcmp because it compares the contents of the strings while == compares the address of the first elements in the strings.
Also, strcmp will tell you the relative ordering of the strings rather than simply if they are equal.