Revert "If condition in C++"

This reverts commit 585e20228fa3ae5e31e596342c7a9cb9574d6dad.