Dongle泛指任何能插到電腦上的小型硬體,PC TV dongle則是用來(lái)在PC上觀看電視節(jié)目所用的擴(kuò)充裝置。一般來(lái)說(shuō),依照採(cǎi)用的電視訊號(hào)規(guī)格,PC TV dongle可區(qū)分成兩大類:若使用的訊源為數(shù)位訊號(hào),則屬於數(shù)位PC TV dongle;若使用的是類比訊號(hào),則屬於類比PC TV dongle。全球各地皆有不同的採(cǎi)納階段,且推行的廣播標(biāo)準(zhǔn)也不盡相同。
當(dāng)許多編程人員從事這項(xiàng)工作但又不使用源代碼管理工具時(shí),源代碼管理幾乎不可能進(jìn)行。Visual SourceSafe是Visual Basic的企業(yè)版配備的一個(gè)工具,不過(guò)這個(gè)工具目的是為了保留一個(gè)內(nèi)部應(yīng)用版本,不向公眾發(fā)布(應(yīng)當(dāng)說(shuō)明的是,M i c r o s o f t并沒(méi)有開(kāi)發(fā)Visual SourceSafe,它是M i c r o s o f t公司買來(lái)的) 。雖然Visual SourceSafe有幫助文本可供參考,但該程序的一般運(yùn)行情況和在生產(chǎn)環(huán)境中安裝 Visual SourceSafe的進(jìn)程都沒(méi)有詳細(xì)的文字說(shuō)明。另外,Visual SourceSafe像大多數(shù)M i c r o s o f t應(yīng)用程序那樣經(jīng)過(guò)了很好的修飾,它包含的許多功能特征和物理特征都不符合 Microsoft Wi n d o w s應(yīng)用程序的標(biāo)準(zhǔn)。例如,Visual SourceSafe的三個(gè)組件之一(Visual SourceSafe Administrator)甚至連F i l e菜單都沒(méi)有。另外,許多程序的菜單項(xiàng)不是放在最合適的菜單上。在程序開(kāi)發(fā)環(huán)境中實(shí)現(xiàn)Visual SourceSafe時(shí)存在的復(fù)雜性,加上它的非標(biāo)準(zhǔn)化外觀和文檔資料的不充分,使得許多人無(wú)法實(shí)現(xiàn)和使用 Visual SourceSafe。許多人甚至沒(méi)有試用 Vi s u a l S o u r c e S a f e的勇氣。我知道許多高水平技術(shù)人員無(wú)法啟動(dòng)Visual SourceSafe并使之運(yùn)行,其中有一位是管理控制系統(tǒng)項(xiàng)目師。盡管如此,Visual SourceSafe仍然不失為一個(gè)很好的工具,如果你花點(diǎn)時(shí)間將它安裝在你的小組工作環(huán)境中,你一定會(huì)為此而感到非常高興。在本章中我并不是為你提供一些指導(dǎo)原則來(lái)幫助你創(chuàng)建更好的代碼,我的目的是告訴你如何使用工具來(lái)大幅度減少管理大型項(xiàng)目和開(kāi)發(fā)小組所需的資源量,這個(gè)工具能夠很容易處理在沒(méi)有某種集成式解決方案情況下幾乎無(wú)法處理的各種問(wèn)題。
The government of a small but important country has decided that the alphabet needs to be streamlined and reordered. Uppercase letters will be eliminated. They will issue a royal decree in the form of a String of B and A characters. The first character in the decree specifies whether a must come ( B )Before b in the new alphabet or ( A )After b . The second character determines the relative placement of b and c , etc. So, for example, "BAA" means that a must come Before b , b must come After c , and c must come After d .
Any letters beyond these requirements are to be excluded, so if the decree specifies k comparisons then the new alphabet will contain the first k+1 lowercase letters of the current alphabet.
Create a class Alphabet that contains the method choices that takes the decree as input and returns the number of possible new alphabets that conform to the decree. If more than 1,000,000,000 are possible, return -1.
Definition
迄今為止,本書已介紹了可在Microsoft Wi n d o w s操作系統(tǒng)中使用的全部網(wǎng)絡(luò)A P I函數(shù)。
利用這些函數(shù),我們的應(yīng)用程序可通過(guò)網(wǎng)絡(luò),建立與其他程序的通信聯(lián)系。在那些討論中,
我們?cè)诤艽蟪潭壬蠈⒅攸c(diǎn)放在七層O S I模型的應(yīng)用層和表示層上面