Doomulation
?????????????????????????
Ok, just wondering some things. Anyway,
1) Is there a good API to get the cdrom drive?
2) Is there a way to convert char to char*? As in the following illustrated sample:
3) While I'm at it...has anyone experienced that the compiler/linker hangs sometimes and the stop build command fails?
1) Is there a good API to get the cdrom drive?
2) Is there a way to convert char to char*? As in the following illustrated sample:
PHP:
char drive = 'D';
char* temp = new char[3];
while (true)
{
strcpy(drive,temp); // Compile error: cannot convert char to char*
strcpy((char*)drive,temp); // No compile error, but data is lost
strcpy((char*)&drive,temp); // Would this work?
strcat(":\\",temp);
drive++;
}
3) While I'm at it...has anyone experienced that the compiler/linker hangs sometimes and the stop build command fails?