FIBPlus is a component suite intended for work with InterBase. It is direct, fast and flexible InterBase connectivity for Delphi, C++ Builder, Ada and Kylix. FIBPlus supports Delphi 5-7, Delphi 2005, Delphi 2006, Delphi 2007, C++ Builder 5-6, C++ Builder 2006, C++ Builder 2007, Kylix 3, gnat-3.15p, gnat2006 GPL, and all versions of InterBase 4.x-7.x, InterBase 2007 and Firebird 1.x-2.x.
Using FIBPlus in your applications you do not need to install any additional software except for InterBase Client Software. FIBPlus supports all special InterBase features such as array-fields, event alerters, BLOB-fields, etc.
FIBPlus is a native component set and its evaluation versions are distributed partially in sources.
Registering FIBPlus you get full sources of components and technical support
1. 汽車(chē)輪渡口,過(guò)江渡船每次能載10輛車(chē)過(guò)江,過(guò)江車(chē)輛分為客車(chē)類和貨車(chē)類,上渡船有如下規(guī)定:同類車(chē)先到先上船,客車(chē)先于貨車(chē)上渡船,且每上4輛客車(chē),才允許上一輛貨車(chē)。若等待客車(chē)不足4輛,則從貨車(chē)代替,若無(wú)貨車(chē)等待允許客車(chē)上船。試寫(xiě)一個(gè)算法模擬渡口管理。 算法設(shè)計(jì): 1客車(chē)和貨車(chē)均建立一個(gè)鏈?zhǔn)疥?duì)列,初始均為空。以后來(lái)一輛車(chē)不是貨車(chē)就是客車(chē),因此可以說(shuō)整個(gè)程序的事件驅(qū)動(dòng)event就是這兩個(gè),客車(chē)表示1,貨車(chē)表示0. 2輪船還沒(méi)有到達(dá)時(shí)客車(chē)和貨車(chē)均按次序排在各自隊(duì)列中。 3輪船到達(dá)時(shí),根據(jù)兩個(gè)隊(duì)列的情況,分別處理。處理如下: a 客車(chē)數(shù)不滿4輛,則將排在前面的貨車(chē)上船,但總數(shù)不能超過(guò)10,若沒(méi)有貨車(chē)等待,客車(chē)直接上船。 b 客車(chē)數(shù)滿4,但不滿8輛,客車(chē)先上,排在前面的只有一輛貨車(chē)可以上船,若沒(méi)有貨車(chē)等待則貨車(chē)不上。 c 客車(chē)滿8輛但不滿10,客車(chē)上船,排在前面的貨車(chē)最多可以上2輛,但總數(shù)不能超過(guò)10。 d 客車(chē)滿10,則全上客車(chē),但總數(shù)不能超過(guò)10。
在大多2440開(kāi)發(fā)板BSP中的SMDK2440\DRIVERS\backlite目錄下一般都有背光驅(qū)動(dòng)。在注冊(cè)表中添加如下函數(shù)的時(shí)候,開(kāi)機(jī)時(shí)確實(shí)可以打印"!!!!!!!!!!!! BACKLIGHT ON !!!!!!!!!!!!,如果沒(méi)有操作大概1分鐘后也可以打印!!!!!!!!!!!! BACKLIGHT OFF !!!!!!!!!!!!。但打印("!!!!!!!!!!!! BACKLIGHT OFF !!!!!!!!!!!!后,就算有觸發(fā)事件(在觸摸屏上點(diǎn)擊,或者移動(dòng)鼠標(biāo))也不會(huì)打印"!!!!!!!!!!!! BACKLIGHT ON !!!!!!!!!!!!。
其實(shí)這個(gè)驅(qū)動(dòng)大體是正確的,只是當(dāng)鍵盤(pán)鼠標(biāo)或觸摸屏輸入時(shí)候gwes 發(fā)送“PowerManager/ActivityTimer/UserActivity” event,而不是原驅(qū)動(dòng)中的“("UserInputEvent") ”修改后的源程序如下(SMDK2440\DRIVERS\backlite目錄下bak_hw.cpp文件)。
A user-space device driver can do many of the things that kernel drivers can t, such as perform a long-running computation, block while waiting for an event, or read files from the file system. Unlike kernel drivers, a user-space device driver can use other device drivers--that is, access the network, talk to a serial port, get interactive input from the user, pop up GUI windows, or read from disks. User-space drivers implemented using FUSD can be much easier to debug it is impossible for them to crash the machine, are easily traceable using tools such as gdb, and can be killed and restarted without rebooting even if they become corrupted. FUSD drivers don t have to be in C--Perl, Python, or any other language that knows how to read from and write to a file descriptor can work with FUSD. User-space drivers can be swapped out, whereas kernel drivers lock physical memory.
P3.18. An analog signal xa(t) = sin (100πt) is sampled using the following sampling intervals. In
each case plot the spectrum of the resulting discrete-time signal.
Ts= 0.1 ms, Ts= 1 ms, Ts = 0.01 Sec
JavaServer Faces (JSF) is the “offcial” component-based
view technology in the Java EE web tier. JSF includes a set
of predefned UI components, an event-driven programming
model, and the ability to add third-party components. JSF
is designed to be extensible, easy to use, and toolable. This
refcard describes the JSF development process, standard JSF
tags, the JSF expression language, and the faces-confg.xml
confguration fle.