I have a script that reads in a file using a while loop. One IF statement reads the line (it is a csv file) then a second checks for a match.
while ( file != NULL )
{
if ( sscanf to read the line )
{
if ( to check for matches)
{
toggle variable
break;
}
}
}
If I add the break into the second IF statement (as above) will that break out of the two IF statements and the WHILE loop? Or do I need additional break;
to get out of thw while loop?