The compiler didn't catch it because it is valid code. You declared the variables in different scopes, so there was no real problem there (although it's good practice to use unique variable names).Originally Posted by KShots
The compiler didn't catch it because it is valid code. You declared the variables in different scopes, so there was no real problem there (although it's good practice to use unique variable names).Originally Posted by KShots
Save yourself some pain. Learn C++ before learning Qt.
Bookmarks