

27·
17 days agoAh, I believe that would be from a college course.
Statements that start with # in C/C++ are known as preprocessor directives, that is, they are executed before compilation begins. OP has used a which will replace any instance of A (
IF(x)
) with B (while (x)
) in the code.
So the IF
statement is really just a while
statement.