Overview In this chapter I introduce Borland C++Builder (BCB) and explain what it is about. I also devote considerable time to explaining the purpose of this book and the philosophy behind my approach to technical writing. Technical subjects covered in this chapter include Creating a simple Multimedia RAD program that plays movies, WAV files, and MIDI files. Shutting down the BCB RAD programming tools and writing raw Windows API code instead. Creating components dynamically on the heap at runtime. Setting up event handlers (closures) dynamically at runtime. A brief introduction to using exceptions. This topic is covered in more depth in Chapter 5, "Exceptions." A brief introduction to ANSI strings. This subject is covered in more depth in Chapter 3, "C++Builder and the VCL." Using the online help. Greping through the include and source files that come with the product and with this book.
*** *** *** *** *** *** *** *** *** *** *** *** ***
*** *** *** *** *** ** RELEASE NOTES *** *** *** *** *****
*** *** *** *** *** *** *** *** *** *** *** *** ***
1) RELEASE NOTES:
--- --- ----
The release notes are now provided in PDF format in the file:
\SOFTWARE\uCOS-II\DOC\RelV251.PDF
2) FEATURES SINCE V2.00:
--- --- --- -----
All the features added since V2.00 are described in the PDF file:
\SOFTWARE\uCOS-II\DOC\NewV251.PDF
3) EVENT FLAGS:
--------------
Event Flags are discussed in AN-1007 (see www.Micrium.com/app_notes.htm)
4) QUICK REFERENCE CHART:
------------------------
A Quick Reference Chart for all the functions in V2.51 is provided in the
following .PDF files:
\SOFTWARE\uCOS-II\DOC\QuickRefChartV251-Color.PDF
Once printed, simply FOLD the page in half and if you have a LAMINATION
machine, you can protect the chart by laminating it.
A C++ framework for creating Linux and Windows communications applications that contain Dialogic/Intel NetStructure products. Includes media and network classes (analog, digital, SIP, H323), multithreaded event handling, distributed app 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。
Introduction to GPS ToolKit Pro 1.0
GPS ToolKit Pro is an ActiveX object that makes it easy to add GPS support to any Visual Basic, Visual C++, Delphi, Excel, or scripting project that supports ActiveX controls. GPS data (including lat/lon, speed, course, altitude, and dozens of other datasets) can be accessed through GPS ToolKit s properties, and GPS ToolKit s multithreaded event-based architecture notifies your application when data has been updated, saving you from having to write messy polling routines.
IBM MQ
Introduction and overview
This chapter describes the scope of this book and introduces WebSphere
Business Integration Message Broker, WebSphere Business Integration Event
Broker, and their main components.
Microsoft Press books are available through booksellers and distributors worldwide. For further information
about international editions, contact your local Microsoft Corporation office or contact Microsoft
Press International directly at fax (425) 936-7329. Visit our Web site at www.microsoft.com/mspress.
Send comments to mspinput@microsoft.com.
Microsoft, Microsoft Press, Visual Basic, Visual Studio, Windows, and Windows NT are either registered
trademarks or trademarks of Microsoft Corporation in the United States and/or other countries.
Other product and company names mentioned herein may be the trademarks of their respective owners.
The example companies, organizations, products, domain names, e-mail addresses, logos, people, places,
and events depicted herein are fictitious. No association with any real company, organization, product,
domain name, e-mail address, logo, person, place, or event is intended or should be inferred.
THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND. MICROSOFT DISCLAIMS
ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. IN NO
EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
POSSIBILITY OF SUCH DAMAGES. SOME STATES DO NOT ALLOW THE EXCLUSION
OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
SO THE FOREGOING LIMITATION MAY NOT APPLY.