You must log in or register to comment.
Through the magic of make, you can write code that changes if statements to while loops then changes it back after compilation passes or fails.
I only give good advice.
ELI5 plz
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 awhile
statement.But what is it in reference to? What’s the “infamous if loop”?
Ah, I believe that would be
from a college course.