Borland C++ Handbook 2nd Edition
Chris H. Pappas and William H. Murray III
McGraw Hill
1992
0-07-881779-X
$29.95 (US)





This is actually my 2nd book i ever read for C++. It goes through the material at a little faster pace that the others which was nice if you've gotten your feet wet in programming C++ before. This is great for those that want to dive right into programming. A nice aspect of this book is toward the end, it has some chapters on Assembly code, and how to link your Assembly modules in with your C++ code. This is a great thing to learn right off the bat because the two of them combined make a great programming tool. It also covers some general Windows programming Concepts and some standard library functions, including graphics! Its hard to find a page that doesn't have example source code on it, so they WILL get the point across! Although this book moves at a pretty good pace, it is still extremely valuable to those that are first starting with C++. This edition covers Borlandc++ Version 3.0 and has about 100 pages dedicated to introducing the reader to the interface and getting everything to work before really covering fundamental programming material. Very complete, and a nice book to have. If you have a newer version of BC i'd see if a 3rd edition would be out so that everything would be pertaining to the new version of BC and not the 3.0 version. A very good book!




Part I	Introduction
1	The Sum of The Parts Makes the Whole
	The Layout of the BorlandC++ Package (3.0)					4
	Installation with your System							8
	The layout of this Book								9

2	Getting Started With The Borland C++ Compiler	
	The Main Window									11
	Help										13
	Your First Program								15
	Managing Windows								27
	Multiple Source File Management							28
	Other Menu Options								32

3	Getting Started With Borland's Assembler
	Setting Up the Assembler							40
	The Assembly Process: The 1st Example						41
	Assembler Options And Switches							46
	Linker Options and Switches							47
	Important Utility Programs and Files						49
	The Assembly Process: The Second Example					54
	Assembler Modes: Masm and IDEAL							60
	Mixed Modes: THe 3rd and 4th Examples						61
	Tracking Down Assembly Language Errors: The 5th Example				66
	There's More to Come								69
4	Getting Started With Borlandn's Debugger and Profiler	
	The Debugger: Searching out							72
	The Profiler: An Efficiency Expert						72
	Getting Stated with the Debugger						72
	Getting Started with the Profiler						86
	Planning Program Development							92

PART II

5	C and C++ Foundations
	History of C									97
	The ANSI C Standard								106
	Evolution of C++ and Object-Oriented Programming				108
	History of C++									109
	The Basic Elements of a C Program						116

6	Data			
	What Are Identifiers								131
	Keybwords									134
	Standard C and C++ Data Types							134
	Access Modifiers								143
	pascal,cdecl,near,far,and huge Modifers						147
	Data type Conversions								150
	Storage Classes									153
	Operators									158
	Understanding Operator Precedence Levels					168
	Standard C and C++ Libraries							170

7	Control
	Conditional Statements								175
	Loop Statements									191

8	Functions
	Function Style and Prototyping							212
	Function Arguments								218
	Function Types									226
	Function Arguments for Main							232
	Special C++ Features								237
	Programming Problems Involving Scope						240

9	Arrays
	What Are Arrays?								245
	The Basic Properties of an Array						246
	Defining An Array								246
	Initializing an Array								247
	Using Array Subscripts								250
	Using sizeof With Arrays							253
	Array Boundary Checking								256
	Arrays and Strings								256
	Multidimensional Arrays								259
	Arrays and Functions								262
	String Funcitons that use Arrays						269

10	Pointers
	What is a Pointer Variable							277
	Function Pointers								302
	Dynamic Memory Allocation							306
	Pointers and Arrays								312
	C++ Reference Type								323

11 	Input and Output in C and C++
	Input and Output in C								327
	Input and Output in C++								354
	Advanced C++ Input and Output							364

12	Structures, Unions, and Miscellaneous Items
	Structures									381
	Unions										400
	Miscellaneous Items								402
	Linked Lists									405

13	Classes
	Fundamental Class Concepts							412
	Operator Overloading								435
	Derived Classes									438

14	Introduction to Object-Oriented Programming
	C++ and OOP									444
	OOP Definitions and Terminology							444
	Developing an Object Oriented Linked List Program				446

Part III	Power Programming

15	Power Programming : Tapping Important C and C++ Libraries
	C and C++ Header Files								467
	Standared Library Functions							468
	Character Functions								477
	Memory and String Functions							482
	Math Functions									491
	Time Functions									497

16	System Resources and Graphcis
	The BIOS Header File								506
	The DOS Header File								509
	The Graphics Header File							516

17	Assembly Language
	Arithmetic Programs								538
	Using a Lookup Table								555
	Using the BIOS/DSO System Interrupts and Addressing Ports			558

18 	Power Programming : Macros and Procedures
	Macros										573
	Procedures									583
	Object Module Libraries								592
	Contrasting Macros, Procedures, and Libraries					594

19	Binding C and Assembly Language Code
	Using Inline Assembly Language							598
	Writing Seperate C and Assembly Language Modules				603
	A Simple C and Assembly Langauge connection					607
	A hardware interface Using C++ and Assembley Language				609
	Passing Arrays From C to Assembly Language					614

Part IV	Programing For Windows

20	An Introduction to Windows concepts
	What is Windows?								620
	Windows Capabilities								620
	Windows Features								625
	Windows: Concepts and Terminology						625
	Steps in Creating a Windows Program						643

21	Writing Borlandc and C++ Windows Applications
	Why Use Simplified Windows Platform Templates?					645
	The Compiling and Linking Process						646
	The Simplified Windows Platform							646
	Important Features Used Within Each SWP						663
	Where to Go From Here								676

22	Using the Borland Resource Workshop and Resource Compiler
	Windows Resources								678
	Using the Borland Resource Workshop (BRW)					679
	Using The Resource Compiler (FC) From the Command Line				698
	Additional Resource Information							702

23	Developing a Borland C++ Presentation Quality Bar Chart
	The Palette Manager								703
	Using Fonts in an Application							706
	The Bar Chart									709
	Using The Windows Debugger							726

24	A Template for ObjectWindows C++ Program Development
	ObjectWindows 3 Object Oriented Featues						732
	An ObjectWindows Object								734
	A Template for Success, swpo.cpp						735
	Experimenting with the swpo.cpp template					742
	Toward More Advanced Work							748

25	Developing C++ ObjectWindows Applications With Resources
	draw25, Developing a Custom Icon, Cursor, Menu, and Group
	of Keyboard Accelerators							750
	pie25, Presentation Quality Graphics With a Custom Icon,
 	Cursor, Menu, and Two Dialgog Boxes						761
Part V	Appendixes
A	Extended ASCII Table								779
B	Dos 10h, 21h, and 33h Interrupt Parameters					783
C	Windows Functions								799
	Index										901