Training
Certifications
Books
Special Offers
Community




 
Microsoft® Visual C++® .NET Step by Step
Author Julian Templeman, Andy Olsen
Pages 640
Disk 1 Companion CD(s)
Level All Levels
Published 01/23/2002
ISBN 9780735615670
ISBN-10 0-7356-1567-5
Price(USD) $39.99
To see this book's discounted price, select a reseller below.
 

More Information

About the Book
Table of Contents
Sample Chapter
Index
Related Series
Related Books
About the Author

Support: Book & CD

Rate this book
Barnes Noble Amazon Quantum Books

 

Table of Contents


INTRODUCTIONVII
    System Requirements vii / Installing and Using the Practice Files viii / Conventions and Features in this Book ix / Other Features of This Book x / Corrections, Comments, and Help x / Visit the Microsoft Press World Wide Web Site x 
PART 1  GETTING STARTED WITH C++1
CHAPTER 1  Hello C++!3
    Your First C++ Program 4 / Creating an Executable Program—Theory 8 / Creating an Executable Program—Practice 9 / Conclusion 15 
CHAPTER 2  Introducing Object-Oriented Programming17
    What is Object-Oriented Programming? 17 / Features of Object-Oriented Programming Languages 18 / Classes and Objects 21 / Benefits of Object-Oriented Programming to the Developmental Life Cycle 21 / A Simple Example 22 
CHAPTER 3  Variables and Operators29
    What is a Variable? 29 / The Fundamental Data Types 30 / Declaring a Variable 31 / Declaring Multiple Variables 32 / Assigning Values to Variables 32 / Arrays 33 / Pointers 34 / References 35 / Constants 35 / Enumerations 36 / Typedefs 37 / Adding Member Variables to Classes 37 / The .NET Framework String Class 39 / Operators and Expressions 40 
CHAPTER 4  Using Functions47
    Declaring Function Prototypes 48 / Defining Function Bodies 51 / Calling Functions 57 
CHAPTER 5  Decision and Loop Statements69
    Making Decisions with the if Statement 69 / Making Decisions with the switch Statement 80 / Performing Loops 84 
PART 2  MORE ABOUT OBJECT-ORIENTED PROGRAMMING97
CHAPTER 6  More About Classes and Objects99
    Organizing Classes into Header FIles and Source Files 100 / Creating and Destroying Objects 106 / Defining Constructors and Destructors 108 / Defining Class-Wide Members 113 / Defining Object Relationships 118 
CHAPTER 7  Controlling Object Lifetimes129
    Traditional C++ Memory Management 129 / The .NET Approach 132 
CHAPTER 8  Inheritance143
    Designing an Inheritance Hierarchy 144 / Defining a Base Class 145 / Defining a Derived Class 147 / Accessing Members of the Base Class 150 / Creating Objects 153 / Overriding Member Functions 155 / Defining Sealed Classes 160 / Defining and Using Interfaces 160 
PART 3  .NET PROGRAMMING BASICS163
CHAPTER 9  Value Types165
    Reference Types and Value Types 165 / Structures 167 / Enumerations 175 
CHAPTER 10  Operator Overloading181
    What Is Operator Overloading 181 / Overloading Operators in Managed Types 183 / Guidelines for Providing Overloaded Operators 198 
CHAPTER 11  Exception Handling201
    What Are Exceptions? 201 / Throwing Exceptions 204 / Handling Exceptions 207 / Creating Your Own Exception Types 217 / Using _try_cast for Dynamic Casting 220 / Using Exceptions Across Languages 222 
CHAPTER 12  Arrays and Collections227
    Native C++ Arrays 227 / The .NET Array Class 239 / Other .NET Collection Classes 247 
CHAPTER 13  Properties255
    What Are Properties? 255 / Implementing Scalar Properties 257 / Implementing Indexed Properties 261 
CHAPTER 14  Delegates and Events271
    What Are Delegates? 271 / What are Events? 279 
PART 4  USING THE .NET FRAMEWORK287
CHAPTER 15  The .NET Framework Class Library289
    What Is the .NET Framework? 289 / The .NET Framework Namespaces 295 
CHAPTER 16  Introducing Windows Forms307
    What Is Windows Forms? 307 / The System.Windows.Forms Namespace 310 / Creating and Using Forms 311 / Using Menus 339 
CHAPTER 17  Dialog Boxes and Controls347
    Using Dialog Boxes 347 / Using Common Dialogs 358 / More About Controls 361 
CHAPTER 18  Graphical Output391
    Graphics with GDI+ 391 / Handling Images 407 / Printing 409 
CHAPTER 19  Working with Files415
    The System::IO Namespace 415 / Text Input/Output Using Readers and Writers 417 / Working with Files and Directories 424 / Binary I/O 433 
PART 5  DATA ACCESS441
CHAPTER 20  Reading and Writing XML443
    XML and .NET 444 / Parsing XML with XmlTextReader 445 / Parsing XML with Validation 452 / Writing XML Using XmlTextWriter 457 / Using XmlDocument 462 
CHAPTER 21  Transforming XML475
    Transforming XML 475 / Using XPath 477 / Using XSL 485 
CHAPTER 22  Using ADO.NET493
    What Is ADO.NET? 494 / Creating a Connected Application 496 / Creating a Disconnected Application 503 
PART 6  CREATING DISTRIBUTED APPLICATIONS511
CHAPTER 23  Building a Web Service513
    What Are Web Services? 513 / The Web Services Namespaces 518 / Creating a Simple Web Service 519 / Using the Web Service Service from a Brower 521 / Using the Web Service from Code 523 
CHAPTER 24  Introduction to ATL Server531
    What Is ATL Server? 531 / Creating Web-Based Applications Using ATL Server 533 / Creating Web Services Using ATL 541 
PART 7  ADVANCED TOPICS551
CHAPTER 25  Working with Unmanaged Code553
    Managed vs. Unmanaged Code 553 / Pinning and Boxing 558 / Using P/Invoke to Call Functions in the Win32 API 565 
CHAPTER 26  Attributes and Reflection575
    Metadata and Attributes 575 / Using Predefined Attributes 578 / Defining Your Own Attributes 585 / Using Reflection to Get Attribute Data 591 
CHAPTER 27  Living with COM599
    COM Components and COM Interop 599 / Using COM Components from .NET Code 600 / Using .NET Components as COM Components 615 
ABOUT THE AUTHORS618
INDEX619



Last Updated: January 12, 2002
Top of Page