I have a char array that represents the first word read in a text file. The first word in my file is "PROGRAM". I want to have an if statement that says if the first word is "PROGRAM", do this....
if (equal(nextTokenData,nextTokenData+7,"PROGRAM"))...;
if (string(nextTokenData,nextTokenData+7)=="PROGRAM")...; //note that this is potentially less efficient than the above