Hey guys, I am in the process of a program that counts integers I can do this by looking for the int keywork and then incrementing a variable although if an integers are implemented as:

int j,k,l;

I am not sure how to count this as 3 ints, I know I will need some form of loop that reads until the next comma and ends at the semicolon but I have no idea what kind of loop would be of use or how to implement it.

Any advice would be great,

Thank you.