Forget all that "C" old bit operator, you are "C++", use the modern STL way
using namespace std;
bitset lt< 'Z' - 'A' + 1 > ld = (int)GetLogicalDrives();
for( char i = 'A'; i <= 'Z'; i++ )
if( ld[ i - 'A' ] )
cout << i << ":" << endl;
I'm an independent Software Developer living in the Alpes Maritimes (aka French Riviera).
Even if in the past I have worked regularily with Fortran, Pascal, Basic (not necessarily Visual), and much more esoteric languages (who knows Prolog, Lotus 123 macros ?), even if I still work from time to time with C#, Java or some "interpreted languages", I'm more specialized in C++.
I work on MFC since the very first version, I enjoy working on Visual Studio 2010, its C++0x features, STL, MFC, boost, WTL ...