• Авторизация


Мелкомягкие - Лещи :) :) :) :) 02-10-2006 22:05 к комментариям - к полной версии - понравилось!


В колонках играет - TATU - Cosmos
Настроение сейчас - OK

Читаю сеня MSDN по одной трабле.... наткаюсь на кусок:

The first function, GetLogicalDrives, returns a DWORD that's a bitmask telling which drive letters are assigned. Bit 0 is drive A, bit 1 is drive B, and so on. Since there are 26 letters in the English alphabet and 32 bits in a DWORD, the mathematicians among you will quickly discern that one DWORD provides enough room to describe all possible combinations of drive letters, and then some. It's a good thing Redmond isn't located in Siberia! (Cyrillic has 33 letters.) CVolumeMaster has a static method, FormatBitMask, to format the bits as ASCII—VolInfo uses it to display a message like


во, блин, лещи :)))
Точно кто-нить из наших писал... Американцу до такого 100% не догнать :)
вверх^ к полной версии понравилось! в evernote


Вы сейчас не можете прокомментировать это сообщение.

Дневник Мелкомягкие - Лещи :) :) :) :) | Andron_nsk - Дневник Andron_nsk | Лента друзей Andron_nsk / Полная версия Добавить в друзья Страницы: раньше»