#include "stdafx.h"
#include <iostream>
#include <string>
#include <windows.h>
#include <shellapi.h>
#include <mmsystem.h>
#pragma comment(lib, "WinMM.Lib")
using namespace std;
int main()
{
string aaa = "C:\\";
cout << (GetDriveType(aaa)==DRIVE_CDROM);
return 0;
}
char aaa[4] = "C:\\";