Hey guys, I am making a program that reads in simple source code from a text file and counts the integers but I am having a problem that if the int is declared as int hint; it will count that as 2 ints I was told to check and make sure that any presence of 'int' doesn't have alphabetic
characters surrounding it by and knowing the position of 'int', you just look at the characters before and after those three.
Although I am using the code if(strcmp(test,"int") == 0) but this code I am currently using but its doesn't tell me the position of int is there away round this problem?
Thanks.