Define the variable temp in the ah header file and initialize it, that is, explicit initialization. int temp = 0;
The ah header file is included in the ac bc file, and the error of multiple definition of `temp' will appear when compiling.
Define the variable temp in the ah header file and initialize it, that is, explicit initialization. int temp = 0;
The ah header file is included in the ac bc file, and the error of multiple definition of `temp' will appear when compiling.