Hey guys I am using code like the following:
But I would like to say if a semi colon appears at any stage after a ")" (closing bracket) add one to count.
Any advice thanks. ( I am also using a char array and not a string, unfortunitly I have too)
char *ptr = array;
if(ptr = strstr(ptr, ";"))
{
count++;
}