This is because forward declaration in C++: Compiler needs to know function prototype when function call is compiled. So, you need declare the called function first or place the called function before the calling
function.
C++ - Identifier not found,布布扣,bubuko.com
时间: 2024-10-13 23:26:01