9780130458216

Visual C ++ .NET: A Managed Code Approach for Experienced Programmers

by ; ; ; ; ; ;
  • ISBN13:

    9780130458216

  • ISBN10:

    013045821X

  • Format: Paperback
  • Copyright: 2003-01-01
  • Publisher: Pearson P T R

Note: Supplemental materials are not guaranteed with Rental or Used book purchases.

Purchase Benefits

  • Free Shipping On Orders Over $35!
    Your order must be $35 or more to qualify for free economy shipping. Bulk sales, PO's, Marketplace items, eBooks and apparel do not qualify for this offer.
  • Get Rewarded for Ordering Your Textbooks! Enroll Now
List Price: $59.99 Save up to $15.00
  • Buy Used
    $44.99
    Add to Cart Free Shipping

    USUALLY SHIPS IN 2-4 BUSINESS DAYS

Supplemental Materials

What is included with this book?

Summary

Provides the experienced programmer with a concise introduction to C++ programming fundamentals before presenting more advanced topics in detail. Examples that highlight crucial concepts in files and streams are included. Softcover.

Table of Contents

List of Illustrations
xix
Preface xli
Introduction to .NET and Visual C++® .NET
1(24)
Introduction
2(1)
History of the Internet and World Wide Web
2(2)
World Wide Web Consortium (W3C)
4(1)
Extensible Markup Language (XML)
4(1)
Key Software Trend: Object Technology
5(2)
Introduction to Microsoft .NET
7(2)
Visual C++ .NET
9(2)
.NET Framework and the Common Language Runtime
11(2)
Tour of the Book
13(8)
Summary
21(2)
Internet and World Wide Web Resources
23(2)
Visual Studio® .NET IDE and Visual C++ .NET Programming
25(27)
Introduction
26(1)
Visual Studio .NET Integrated Development Environment (IDE) Overview
26(4)
Menu Bar and Toolbar
30(2)
Visual Studio .NET Windows
32(1)
Solution Explorer
32(1)
Properties Window
33(1)
Using Help
33(2)
Creating a Simple Console Application
35(3)
Simple Program: Printing a Line of Text
38(5)
Arithmetic
43(1)
Decision Making: Equality and Relational Operators
44(6)
Summary
50(2)
Control Structures
52(28)
Introduction
53(1)
Control Structure
53(2)
if Selection Structure
55(1)
if/else Selection Structure
56(1)
while Repetition Structure
57(1)
Assignment Operators
58(1)
Increment and Decrement Operators
59(2)
for Repetition Structure
61(2)
Example: Using the for Structure to Compute Compound Interest
63(3)
switch Multiple-Selection Structure
66(4)
do/while Repetition Structure
70(1)
Statements break and continue
71(2)
Logical and Conditional Operators
73(6)
Summary
79(1)
Functions and Arrays
80(38)
Introduction
81(1)
Functions and Methods in Managed Extensions for C++
81(1)
Function Definitions
82(4)
Argument Promotion
86(3)
Managed Extensions for C++ Namespaces
89(1)
Value Types and Reference Types
90(1)
Passing Arguments: Pass-by-Value vs. Pass-by-Reference
91(2)
Scope Rules
93(3)
Recursion
96(3)
Function Overloading
99(2)
Arrays
101(1)
Declaring and Allocating Arrays
102(3)
Arrays and Functions
105(1)
Passing Arrays by Value and by Reference
106(5)
Multiple-Subscripted Arrays
111(5)
Summary
116(2)
Object-Based Programming
118(61)
Introduction
119(1)
Implementing a Time Abstract Data Type with a Class
120(9)
Class Scope
129(1)
Controlling Access to Members
130(2)
Initializing Class Objects: Constructors
132(1)
Using Overloaded Constructors
132(6)
Properties
138(7)
Composition: Objects Pointers as Instance Variables of Other Classes
145(5)
Using the this Pointer
150(3)
Garbage Collection
153(1)
static Class Members
153(5)
const Keyword and Read-Only Properties
158(4)
Indexed Properties
162(5)
Data Abstraction and Information Hiding
167(2)
Software Reusability
169(1)
Namespaces and Assemblies
169(6)
Class View
175(1)
Summary
176(3)
Object-Oriented Programming: Inheritance
179(42)
Introduction
180(1)
Base Classes and Derived Classes
181(3)
protected Members
184(1)
Relationship Between Base Classes and Derived Classes
184(24)
Example: Three-Level Inheritance Hierarchy
208(4)
Constructors and Destructors in Derived Classes
212(6)
Software Engineering with Inheritance
218(1)
Summary
219(2)
Object-Oriented Programming: Polymorphism
221(62)
Introduction
222(1)
Derived-Class-Object to Base-Class-Object Conversion
222(8)
Type Fields and switch Statements
230(1)
Polymorphism Examples
231(1)
Abstract Classes
232(2)
Case Study: Inheriting Interface and Implementation
234(10)
___sealed Classes and Methods
244(1)
Case Study: Payroll System Using Polymorphism
244(13)
Case Study: Creating and Using Interfaces
257(14)
Delegates
271(5)
Operator Overloading
276(5)
Summary
281(2)
Exception Handling
283(28)
Introduction
284(1)
Exception Handling Overview
284(4)
Example: DivideByZeroException
288(3)
.NET Exception Hierarchy
291(2)
___finally Block
293(7)
Exception Properties
300(6)
Programmer-Defined Exception Classes
306(4)
Summary
310(1)
Graphical User Interface Concepts: Part 1
311(50)
Introduction
312(2)
Windows Forms
314(1)
Event-Handling Model
315(5)
Basic Event Handling
316(4)
Control Properties and Layout
320(3)
Labels, TextBoxes and Buttons
323(5)
GroupBoxes and Panels
328(5)
CheckBoxes and RadioButtons
333(14)
PictureBoxes
347(4)
Mouse Event Handling
351(3)
Keyboard Event Handling
354(5)
Summary
359(2)
Graphical User Interface Concepts: Part 2
361(85)
Introduction
362(1)
Menus
362(12)
LinkLabels
374(6)
ListBoxes and CheckedListBoxes
380(11)
ListBoxes
382(5)
CheckedListBoxes
387(4)
ComboBoxes
391(6)
TreeViews
397(6)
ListViews
403(9)
Tab Control
412(9)
Multiple-Document-Interface (MDI) Windows
421(12)
Visual Inheritance
433(6)
User-Defined Controls
439(5)
Summary
444(2)
Multithreading
446(43)
Introduction
447(1)
Thread States: Life Cycle of a Thread
448(3)
Thread Priorities and Thread Scheduling
451(5)
Thread Synchronization and Class Monitor
456(2)
Producer/Consumer Relationship without Thread Synchronization
458(8)
Producer/Consumer Relationship with Thread Synchronization
466(9)
Producer/Consumer Relationship: Circular Buffer
475(12)
Summary
487(2)
Strings, Characters and Regular Expressions
489(57)
Introduction
490(1)
Fundamentals of Characters and Strings
490(2)
String Constructors
492(1)
String Chars Property, Length Property and CopyTo Method
493(2)
Comparing Strings
495(4)
String; Method GetHashCode
499(1)
Locating Characters and Substrings in Strings
500(4)
Extracting Substrings from Strings
504(1)
Concatenating Strings
505(1)
Miscellaneous String Methods
506(2)
Class StringBuilder
508(2)
StringBuilder Length and Capacity Properties, and EnsureCapacity Method
510(2)
StringBuilder Append and AppendFormat Methods
512(4)
StringBuilder Insert, Remove and Replace Methods
516(3)
Char Methods
519(4)
Card Shuffling and Dealing Simulation
523(7)
Regular Expressions and Class Regex
530(14)
Summary
544(2)
Graphics and Multimedia
546(91)
Introduction
547(2)
Graphics Contexts and Graphics Objects
549(2)
Color Control
551(12)
Font Control
563(7)
Drawing Lines, Rectangles and Ovals
570(4)
Drawing Arcs
574(3)
Drawing Polygons and Polylines
577(7)
Advanced Graphics Capabilities
584(8)
Introduction to Multimedia
592(1)
Loading, Displaying and Scaling Images
592(4)
Animating a Series of Images
596(17)
Windows Media Player
613(5)
Microsoft Agent
618(18)
Summary
636(1)
Files and Streams
637(105)
Introduction
638(1)
Data Hierarchy
638(3)
Files and Streams
641(1)
Classes File and Directory
642(14)
Creating a Sequential-Access File
656(19)
Reading Data from a Sequential-Access File
675(15)
Random-Access Files
690(5)
Creating a Random-Access File
695(4)
Writing Data ``Randomly'' to a Random-Access File
699(7)
Reading Data Sequentially from a Random-Access File
706(6)
Case Study: A Transaction-Processing Program
712(28)
Summary
740(2)
Extensible Markup Language (XML)
742(61)
Introduction
743(1)
XML Documents
743(5)
XML Namespaces
748(3)
Document Object Model (DOM)
751(25)
Document Type Definitions (DTDs), Schemas and Validation
776(15)
Document Type Definitions
776(5)
Microsoft XML Schemas
781(2)
W3C XML Schema
783(2)
Schema Validation in Visual C++ .NET
785(6)
Extensible Stylesheet Language and XslTransform
791(8)
Summary
799(2)
Internet and Web Resources
801(2)
Database, SQL and ADO .NET
803(58)
Introduction
804(1)
Relational Database Model
805(1)
Relational Database Overview: Books Database
806(6)
Structured Query Language (SQL)
812(17)
Basic Select Query
813(1)
Where Clause
814(2)
Order by Clause
816(4)
Merging Data from Multiple Tables: Inner Join
820(2)
Joining Data from Tables Authors, AuthorISBN, Titles and Publishers
822(2)
Insert Statement
824(2)
Update Statement
826(2)
Delete Statement
828(1)
ADO .NET Object Model
829(1)
Programming with ADO .NET: Extracting Information from a Database
829(8)
Connecting to and Querying an Access Data Source
830(3)
Querying the Books Database
833(4)
Programming with ADO.NET: Modifying a Database
837(16)
Reading and Writing XML Files
853(5)
Summary
858(2)
Internet and Web Resources
860(1)
Web Services
861(88)
Introduction
862(1)
HTTP Request Types
863(1)
Multi-Tier Architecture
864(1)
Accessing Web Servers
865(1)
Simple HTTP Transaction
866(2)
ASP (Active Server Pages) .NET
868(1)
.NET Web Services Basics
869(7)
Simple Object Access Protocol (SOAP) and Web Services
876(1)
Publishing and Consuming Web Services
877(18)
Session Tracking
895(3)
Cookies
896(1)
Session Tracking with HttpSessionState
897(1)
Session Tracking in Web Services
898(16)
Case Study: Temperature-Information Application
914(10)
User-Defined Types in Web Services
924(14)
Global XML Web Services Architecture (GXA)
938(7)
WS-Inspection
940(1)
WS-Routing
941(1)
WS-Referral
942(1)
WS-Security
943(2)
Summary
945(4)
Networking: Streams-Based Sockets and Datagrams
949(47)
Introduction
950(1)
Establishing a Simple Server (Using Stream Sockets)
951(2)
Establishing a Simple Client (Using Stream Sockets)
953(1)
Client/Server Interaction with Stream-Socket Connections
954(12)
Connectionless Client/Server Interaction with Datagrams
966(8)
Client/Server Tic-Tac-Toe Using a Multithreaded Server
974(20)
Summary
994(2)
Data Structures and Collections
996(76)
Introduction
997(1)
Self-Referential Classes
997(2)
Linked; Lists
999(15)
Stacks
1014(5)
Queues
1019(3)
Trees
1022(17)
Binary Search Tree of Integer Values
1024(7)
Binary Search Tree of IComparable Objects
1031(8)
Collection Classes
1039(31)
Class Array
1040(3)
Class ArrayList
1043(10)
Class Stack
1053(7)
Class Hashtable
1060(10)
Summary
1070(2)
Accessibility
1072(62)
Introduction
1073(1)
Regulations and Resources
1074(2)
Web Accessibility Initiative
1076(1)
Providing Alternatives for Images
1076(2)
Maximizing Readability by Focusing on Structure
1078(1)
Accessibility in Visual Studio .NET
1078(6)
Enlarging Toolbar Icons
1079(1)
Enlarging the Text
1080(1)
Modifying the Keyboard
1081(2)
Rearranging Windows
1083(1)
Accessibility in Visual C++ .NET
1084(9)
Accessibility in XHTML Tables
1093(4)
Accessibility in XHTML Frames
1097(1)
Accessibility in XML
1097(1)
Using Voice Synthesis and Recognition with VoiceXML™
1098(7)
CallXML™
1105(6)
JAWS® for Windows
1111(1)
Other Accessibility Tools
1112(1)
Accessibility in Microsoft® Windows® XP
1113(15)
Tools for People with Visual Impairments
1115(2)
Tools for People with Hearing Impairments
1117(2)
Tools for Users Who Have Difficulty Using the Keyboard and Mouse
1119(5)
Microsoft Narrator
1124(2)
Microsoft On-Screen Keyboard
1126(1)
Accessibility Features in Microsoft Internet Explorer 6
1127(1)
Summary
1128(3)
Internet and Web Resources
1131(3)
Introduction to Unmanaged Code in Visual C++ .NET
1134(29)
Introduction
1135(1)
Unmanaged Code
1135(2)
Choosing Between Unmanaged and Managed Code
1136(1)
Future of Unmanaged Code
1136(1)
Changes in Visual C++ .NET
1137(17)
Unified Event Model
1137(7)
Changes to Object-Oriented Capabilities
1144(8)
Minor Modifications and Changes to Unmanaged Code
1152(2)
Additions to Visual C++ .NET
1154(6)
Runtime checks
1154(6)
Attributed Programming
1160(1)
ATL Server
1160(1)
.NET Interoperability
1160(1)
Summary
1160(3)
Attributed Programming in ATL/COM
1163(59)
Introduction
1164(1)
Attributes, COM and ATL
1164(4)
Introduction to COM
1164(2)
Introduction to ATL
1166(1)
Simplifying ATL with Attributes
1166(2)
Creating an Attributed COM DLL
1168(17)
COM Event-Handling Attributes
1185(9)
Case Study: BookContentsScroller ATL ActiveX Control
1194(25)
Summary
1219(1)
Internet and Web Resources
1220(2)
ATL Server Web Applications
1222(76)
Introduction
1223(1)
ATL Server Architecture
1223(1)
Creating and Running a Simple ATL Server Example
1224(9)
AdRotator Example
1233(4)
Session Tracking
1237(18)
Cookies
1237(8)
Session Tracking with a Memory-Backed Session State
1245(10)
Case Study: Online Guest Book
1255(6)
Case Study: Connecting to a Database in ATL Server
1261(14)
ATL Server Web Services
1275(20)
Introduction to ATL Server Web-Services Architecture
1275(1)
Creating an ATL Server Web Service
1276(4)
Case Study: HugeIntegerService Web Service
1280(9)
Case Study: Unmanaged Web-Service Client
1289(6)
Summary
1295(3)
Managed and Unmanaged Interoperability
1298(48)
Introduction
1299(1)
It Just Works (IJW)
1299(12)
Managed vs. Unmanaged Code Revisited
1300(6)
Type Marshaling
1306(5)
Managed and Unmanaged Memory
1311(8)
Wrappers
1319(10)
Wrapping Managed Objects
1320(3)
Wrapping Unmanaged Objects
1323(6)
Platform Invoke
1329(14)
DllImport Attribute
1329(7)
Callbacks and Structures
1336(7)
Summary
1343(3)
COM Interoperability Services
1346(44)
Introduction
1347(1)
COM as .NET Components
1347(10)
Type Libraries and Assemblies
1347(5)
The Runtime Callable Wrapper
1352(1)
Early Binding
1353(2)
Late Binding
1355(2)
Handling COM Connection Points
1357(6)
ActiveX Controls in Windows Forms
1363(6)
.NET Components as COM
1369(19)
COM Callable Wrapper
1369(1)
Type-Library Generation and Registration
1370(2)
Case Study: Using ManagedContentsScroller as COM
1372(16)
Summary
1388(2)
A Operator Precedence Chart 1390(3)
B Number Systems 1393(11)
Introduction
1394(3)
Abbreviating Binary Numbers as Octal Numbers and Hexadecimal Numbers
1397(2)
Converting Octal Numbers and Hexadecimal Numbers to Binary Numbers
1399(1)
Converting from Binary, Octal or Hexadecimal to Decimal
1399(1)
Converting from Decimal to Binary, Octal or Hexadecimal
1400(1)
Negative Binary Numbers: Twos-Complement Notation
1401(2)
Summary
1403(1)
C ASCII Character Set 1404(1)
D Unicode® 1405(14)
Introduction
1406(1)
Unicode® Transformation Formats
1407(1)
Characters and Glyphs
1408(1)
Advantages and Disadvantages of Unicode®
1409(1)
Unicode® Consortium's Web Site
1409(1)
Using Unicode®
1410(5)
Character Ranges
1415(1)
Summary
1416(3)
E Introduction to XHTML: Part 1 1419(24)
Introduction
1420(1)
Editing XHTML
1420(1)
First XHTML Example
1421(3)
W3C XHTML Validation Service
1424(1)
Headers
1425(2)
Linking
1427(3)
Images
1430(4)
Special Characters and More Line Breaks
1434(2)
Unordered Lists
1436(1)
Nested and Ordered Lists
1437(3)
Summary
1440(1)
Internet and Web Resources
1441(2)
F Introduction to XHTML: Part 2 1443(32)
Introduction
1444(1)
Basic XHTML Tables
1444(3)
Intermediate XHTML Tables and Formatting
1447(2)
Basic XHTML Forms
1449(3)
More Complex XHTML Forms
1452(8)
Internal Linking
1460(3)
Creating and Using Image Maps
1463(2)
meta Elements
1465(1)
frameset Element
1466(4)
Nested framesets
1470(2)
Summary
1472(2)
Internet and Web Resources
1474(1)
G XHTML Special Characters 1475(1)
H XHTML Colors 1476(3)
I Bit Manipulation 1479(27)
Introduction
1480(1)
Bit Manipulation and the Bitwise Operators
1480(20)
Class BitArray
1500(5)
Summary
1505(1)
Index 1506

Rewards Program

Write a Review