++i is just a style choice (habit I guess since I'm not doing anything before the increment).... I shifted it because it wasn't displaying my drives properly. I have c,d and e installed, but without shifting it showed b,c, & d.... shifting fixed it

I also changed "while(logicaldrives)" to "while(driveletter <= 'Z')" This ensured it would look for all drive letters from A-Z, plus fixed the error of searching for unknown drives.