为啥: The variable 'tempZ' is being used without being initialized
我这样:
double tempX, tempZ;for(int i =0; i<CSDN; i++){ //在这部分使用tempX, tempZ}for(int i =0; i<CSDN; i++){ //在这部分使用tempX, tempZ就出问题了, debug指向这儿,说The variable 'tempZ' is being used without being initialized}