I have a .c file and I have a lookup file.

The lookup file is like follows:

¬int
¬short
¬long
¬double
¬float
¬char

in a .txt file.

I want to search the .c file for the above strings by going through the lookup table, reading in each string and then searching for the current string in the .c file. And each time one is found, a counter is incremented.
Any ideas?