I've got a DWORD I need to convert to a binary string (char array of 1's and 0's). Problem is, I'm not a VC++ programmer, and am stumbling my way through this. Is there an easy way to do this conversion?
Code:#include "stdafx.h" #include <windows.h> int main(int argc, char* argv[]) { DWORD drives; drives = GetLogicalDrives(); printf("Drives: %d\n", drives); return 0; }