我有这个代码.如何在不创建错误的情况下执行此操作?
int function1() { if (somethingtrue) { function2(); } } int function2() { //do stuff function1(); }
c++
c++ ×1