經安全檢測,此網站為安全網站,請放心前往原始網址!

pointer within a for loop scope problem - Visual C++ - Windows Tech

KTFung111 Thank you for reply. Great solution. And I found that the for loop scope is different than the normal scope. If i break it down like this. int* ptr; { // scope 1 int a = 0; ptr = &a; cout

www.windows-tech.info

網址安全性掃描由 google 提供