Code:
void Process_Sentence (void) /*Process sentences for counting words and lines*/ { Sent_Word = 0; do { Non_Word_Character(); if (Succ_New_Line < 2) { Succ_New_Line = 0; Word_Character(); Sent_Word++; } }while (Next_Char != '.' or '?' or '!') & (Succ_New_Line < 2 ); }
Above is a piece of code to add 1 to a count when a full stop, question mark or exclamation mark is used. However when I try and compile it tells me that:
missing ' ) ' before identifier 'or'.
Can anyone help???
Comment