potrebujes hlavickovy subor string.h a pouzit funkciu strncmp.http://www.wikihow.com/Compare-Two-Strings-in-C-Pr ogramming