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. 汽車輪渡口,過江渡船每次能載10輛車過江,過江車輛分為客車類和貨車類,上渡船有如下規定:同類車先到先上船,客車先于貨車上渡船,且每上4輛客車,才允許上一輛貨車。若等待客車不足4輛,則從貨車代替,若無貨車等待允許客車上船。試寫一個算法模擬渡口管理。 算法設計: 1客車和貨車均建立一個鏈式隊列,初始均為空。以后來一輛車不是貨車就是客車,因此可以說整個程序的事件驅動event就是這兩個,客車表示1,貨車表示0. 2輪船還沒有到達時客車和貨車均按次序排在各自隊列中。 3輪船到達時,根據兩個隊列的情況,分別處理。處理如下: a 客車數不滿4輛,則將排在前面的貨車上船,但總數不能超過10,若沒有貨車等待,客車直接上船。 b 客車數滿4,但不滿8輛,客車先上,排在前面的只有一輛貨車可以上船,若沒有貨車等待則貨車不上。 c 客車滿8輛但不滿10,客車上船,排在前面的貨車最多可以上2輛,但總數不能超過10。 d 客車滿10,則全上客車,但總數不能超過10。
在大多2440開發板BSP中的SMDK2440\DRIVERS\backlite目錄下一般都有背光驅動。在注冊表中添加如下函數的時候,開機時確實可以打印"!!!!!!!!!!!! BACKLIGHT ON !!!!!!!!!!!!,如果沒有操作大概1分鐘后也可以打印!!!!!!!!!!!! BACKLIGHT OFF !!!!!!!!!!!!。但打印("!!!!!!!!!!!! BACKLIGHT OFF !!!!!!!!!!!!后,就算有觸發事件(在觸摸屏上點擊,或者移動鼠標)也不會打印"!!!!!!!!!!!! BACKLIGHT ON !!!!!!!!!!!!。
其實這個驅動大體是正確的,只是當鍵盤鼠標或觸摸屏輸入時候gwes 發送“PowerManager/ActivityTimer/UserActivity” event,而不是原驅動中的“("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.
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.