A character array is a pointer to an allocation in memory starting with the first letter and ending with a \0 character. Your comparing the memory addresses not the actual strings.
Either do what lurc suggested, or compare them letter for letter. _________________
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum You cannot attach files in this forum You can download files in this forum