Le informazioni nella sezione "Riassunto" possono far riferimento a edizioni diverse di questo titolo.
Introduction xv PART 1 GETTING STARTED WITH C++ .NET CHAPTER 1 Hello, C++! 3 What Is a C++ Program? 3 C++ is a strongly typed language. 3 C++ is an efficient language. 4 C++ is an object-oriented language. 4 C++ is based on C (as you might suspect). 4 C++ is a case-sensitive language. 4 Your First C++ Program 4 The main Function 6 C++ Keywords and Identifiers 7 Creating an Executable Program Theory 8 Editing the Program Source Files 8 Compiling the Source Files 8 Linking the Object Files 8 Running and Testing the Program 9 Creating an Executable Program Practice 9 Adding a C++ Source File to the Project 11 Adding C++ Code to the Source File 12 Building the Executable 12 Executing the Program 13 Conclusion 14 CHAPTER 2 Introducing Object-Oriented Programming 15 What Is Object-Oriented Programming? 15 Features of Object-Oriented Programming Languages 16 Encapsulation 16 Inheritance 17 Polymorphism 18 Classes and Objects 19 Benefits to the Developmental Life Cycle 19 A Simple Example 20 CHAPTER 3 Variables and Operators 27 What Is a Variable? 27 The Fundamental Data Types 28 Declaring a Variable 29 Variable Naming 30 Declaring Multiple Variables 30 Assigning Values to Variables 30 Arrays 31 Pointers 32 References 33 Constants 33 Enumerations 34 Typedefs 35 Adding Member Variables to Classes 35 The .NET Framework String Class 36 Operators and Expressions 37 Assignment Operators 37 Arithmetic Operators 37 Relational and Logical Operators 39 Bitwise Operators 40 The Ternary Operator 40 The sizeof Operator 41 Type Casting 41 Operator Precedence and Associativity 41 CHAPTER 4 Using Functions 45 Declaring Function Prototypes 46 Declaring a Simple Function Prototype 46 Declaring Parameters in a Function Prototype 47 Declaring the Return Type in a Function Prototype 48 Declaring Default Values for Function Parameters 48 Defining Function Bodies 49 Defining a Simple Function Body 49 Defining a Function Body That Uses Parameters 50 Defining a Function Body That Returns a Value 52 Calling Functions 53 Calling Functions in the Sample Application 54 Stepping Through the Application with the Debugger 56 Understanding Local and Global Scope 59 Overloading Functions 61 CHAPTER 5 Decision and Loop Statements 65 Making Decisions with the if Statement 65 Performing One-Way Tests 65 Performing Two-Way Tests 69 Performing Multiway Tests 70 Performing Nested Tests 72 Making Decisions with the switch Statement 74 Defining Simple switch Statements 74 Defining Fall-Through in a switch Statement 76 Using Fall-Through in a switch Statement 76 Performing Loops 77 Using while Loops 77 Using for Loops 79 Using do-while Loops 81 Performing Unconditional Jumps 83 PART 2 MORE ABOUT OBJECT-ORIENTED PROGRAMMING CHAPTER 6 More About Classes and Objects 89 Organizing Classes into Header Files and Source Files 90 Defining a Class in a Header File 92 Implementing a Class in a Source File 93 Creating and Destroying Objects 95 Defining Constructors and Destructors 97 Defining Constructors 97 Defining Destructors 99 Defining Class-Wide Members 101 Defining Class-Wide Data Members 103 Defining Class-Wide Member Functions 105 Defining Object Relationships 107 Defining the LoyaltyScheme Class 108 Implementing the LoyaltyScheme Class 108 Creating, Using, and Destroying LoyaltyScheme Objects 110 Testing the Application 112 CHAPTER 7 Controlling Object Lifetimes 117 Traditional C++ Memory Management 117 Creating Objects 117 Deleting Objects 118 Advantages and Disadvantages of Manual Memory Allocation 118 The .NET Approach 120 Finalizers 121 Implementing a Finalizer 123 A Few Points About Finalize 124 Using a Dispose Method 124 Integrating Finalize and Dispose 126 CHAPTER 8 Inheritance 129 Designing an Inheritance Hierarchy 130 Defining a Base Class 131 Defining a Derived Class 133 Accessing Members of the Base Class 135 Creating Objects 138 Overriding Member Functions 140 Defining Sealed Classes 144 Defining and Using Interfaces 144 PART 3 MICROSOFT .NET PROGRAMMING BASICS CHAPTER 9 Value Types 151 Reference Types and Value Types 151 The Need for Value Types 152 Properties of Value Types 153 Structures 153 Creating and Using a Simple Struct 154 Investigating the Structure 155 Differences Between Structures and Classes 156 Implementing Constructors for a Struct 157 Using One Struct Inside Another 157 Copying Structs 160 Enumerations 160 Creating and Using an Enum 161 Using Enums in Programs 162 Avoiding Ambiguity 163 Using Memory Efficiently 163 CHAPTER 10 Operator Overloading 165 What Is Operator Overloading? 165 What Types Need Overloaded Operators? 166 What Can You Overload? 166 Rules of Overloading 167 Overloading Operators in Managed Types 167 Overloading Value Types 167 Overloading Operator Functions 171 Implementing Logical Operators and Equality 173 Implementing Equals 175 Implementing Assignment 177 Implementing Increment and Decrement 179 Overloading Reference Types 180 Calling Overloaded Operators for Reference Types 181 Guidelines for Providing Overloaded Operators 181 CHAPTER 11 Exception Handling 183 What Are Exceptions? 183 How Do Exceptions Work? 185 Exception Types 186 Throwing Exceptions 186 Handling Exceptions 189 Using the try and catch Construct 189 Customizing Exception Handling 191 Using the Exception Hierarchy 192 Using Exceptions with Constructors 193 Nesting and Rethrowing Exceptions 194 The __finally Block 196 The catch(…) Block 197 Creating Your Own Exception Types 198 Using __value Classes 200 Using __try_cast for Dynamic Casting 201 Using Exceptions Across Languages 202 CHAPTER 12 Arrays and Collections 207 Native C++ Arrays 207 Passing Arrays to Functions 210 Initializing Arrays 212 Multidimensional Arrays 212 Dynamic Allocation and Arrays 213 __gc Arrays 215 Using the __gc and __nogc Keywords 216 Arrays and Reference Types 216 Multidimensional __gc Arrays 217 The .NET Array Class 218 Basic Operations on Arrays 219 More Advanced Array Operations 221 Enumerators 224 Other .NET Collection Classes 225 The ArrayList Class 226 Other ArrayList Operations 228 The SortedList Class 228 Other SortedList Operations 230 The StringCollection Class 230 CHAPTER 13 Properties 233 What Are Properties? 233 The Two Kinds of Properties 234 Implementing Scalar Properties 235 Errors in Properties 236 Read-Only and Write-Only Properties 237 Implementing Indexed Properties 239 The Bank Example 239 Implementing the Bank Class 239 Adding the Account Class 242 Creating Account Class Properties 243 Adding Accounts to the Bank Class 244 Implementing the Add and Remove Methods 244 Implementing an Indexed Property to Retrieve Accounts 245 CHAPTER 14 Delegates and Events 249 What Are Delegates? 249 What Do Delegates Do? 250 Defining Delegates 251 Implementing Delegates 251 Calling Static Member Functions Using Delegates 252 Calling Non-Static Member Functions Using Delegates 253 Using Multicast Delegates 253 What Are Events? 257 Implementing an Event Source Class 258 Implementing an Event Receiver 259 Hooking It All Together 261 PART 4 USING THE .NET FRAMEWORK CHAPTER 15 The .NET Framework Class Library 267 What Is the .NET Framework? 267 The Common Language Runtime 268 Intermediate Language 268 The Common Type System 269 The Common Language Specification 269 The .NET Framework Class Library 269 Assemblies 270 Metadata 271 The .NET Framework Namespaces 273 Using Namespaces in C++ Programs 274 The System Namespace 275 The Collections Namespaces 277 The Collections Interfaces 278 The Diagnostics Namespace 278 The IO Namespace 279 The Drawing Namespaces 280 The Forms Namespace 280 The Net Namespaces 281 The Xml Namespaces 282 The Data Namespaces 282 The Web Namespaces 283 CHAPTER 16 Introducing Windows Forms 285 Windows Forms Applications 286 Windows Forms and Designers 286 Windows Forms vs. MFC 287 A Word About ATL 288 The System::Windows::Forms Namespace 288 Creating and Using Forms 289 Creating a Simple Form 289 Using Form Properties 291 Form Relationships 296 Placing Controls on the Form 297 Handling Events 298 Using Controls 300 Label 301 Button 303 CheckBox and RadioButton 304 Using Radio Buttons as a Group 305 ...
Book by Templeman Julian Olsen Andy
Le informazioni nella sezione "Su questo libro" possono far riferimento a edizioni diverse di questo titolo.
EUR 4,00 per la spedizione da Germania a Italia
Destinazione, tempi e costiEUR 13,18 per la spedizione da U.S.A. a Italia
Destinazione, tempi e costiDa: medimops, Berlin, Germania
Condizione: good. Befriedigend/Good: Durchschnittlich erhaltenes Buch bzw. Schutzumschlag mit Gebrauchsspuren, aber vollständigen Seiten. / Describes the average WORN book or dust jacket that has all the pages present. Codice articolo M00735619077-G
Quantità: 1 disponibili
Da: WorldofBooks, Goring-By-Sea, WS, Regno Unito
Paperback. Condizione: Very Good. The book has been read, but is in excellent condition. Pages are intact and not marred by notes or highlighting. The spine remains undamaged. Codice articolo GOR001501505
Quantità: 4 disponibili
Da: ThriftBooks-Dallas, Dallas, TX, U.S.A.
Paperback. Condizione: Good. No Jacket. Pages can have notes/highlighting. Spine may show signs of wear. ~ ThriftBooks: Read More, Spend Less 2.65. Codice articolo G0735619077I3N00
Quantità: 1 disponibili
Da: SecondSale, Montgomery, IL, U.S.A.
Condizione: Good. Item in very good condition! Textbooks may not include supplemental items i.e. CDs, access codes etc. Codice articolo 00073959366
Quantità: 1 disponibili
Da: BookShop4U, Fenton, MO, U.S.A.
Condizione: New. . Codice articolo 5AUZZZ000HSC_ns
Quantità: 4 disponibili
Da: Decluttr, Kennesaw, GA, U.S.A.
Condizione: Very Good. 1718880577. 6/20/2024 10:49:37 AM. Codice articolo U9780735619074
Quantità: 1 disponibili
Da: Toscana Books, AUSTIN, TX, U.S.A.
Paperback. Condizione: new. Excellent Condition.Excels in customer satisfaction, prompt replies, and quality checks. Codice articolo Scanned0735619077
Quantità: 1 disponibili
Da: HPB-Red, Dallas, TX, U.S.A.
paperback. Condizione: Good. Connecting readers with great books since 1972! Used textbooks may not include companion materials such as access codes, etc. May have some wear or writing/highlighting. We ship orders daily and Customer Service is our top priority! Codice articolo S_431984512
Quantità: 1 disponibili