Muutke küpsiste eelistusi

Sams Teach Yourself Cplusplus in 24 Hours 5th edition [Multiple-component retail product]

  • Formaat: Multiple-component retail product, 464 pages, kõrgus x laius x paksus: 229x179x27 mm, kaal: 760 g, Contains 1 Paperback / softback and 1 CD-ROM
  • Ilmumisaeg: 05-May-2011
  • Kirjastus: Sams Publishing
  • ISBN-10: 0672333317
  • ISBN-13: 9780672333316
  • Multiple-component retail product
  • Hind: 39,11 €*
  • * saadame teile pakkumise kasutatud raamatule, mille hind võib erineda kodulehel olevast hinnast
  • See raamat on trükist otsas, kuid me saadame teile pakkumise kasutatud raamatule.
  • Kogus:
  • Lisa ostukorvi
  • Tasuta tarne
  • Lisa soovinimekirja
  • Formaat: Multiple-component retail product, 464 pages, kõrgus x laius x paksus: 229x179x27 mm, kaal: 760 g, Contains 1 Paperback / softback and 1 CD-ROM
  • Ilmumisaeg: 05-May-2011
  • Kirjastus: Sams Publishing
  • ISBN-10: 0672333317
  • ISBN-13: 9780672333316
Starter Kit

Includes C++ compiler and IDE for Windows, Mac & Linux

 

In just 24 lessons of one hour or less, you can learn the basics of programming with C++one of the most popular and powerful programming languages ever created.

 

Using a straightforward, step-by-step approach, this fast and friendly tutorial teaches you everything you need to know, from installing and using a compiler, to debugging the programs youve created, to whats coming in C++0x, the next version of C++.

 

Each lesson builds on what youve already learned, giving you a solid understanding of the basics of C++ programming concepts and techniques.

 

Step-by-step instructions carefully walk you through the most common C++ programming tasks

Quizzes and Exercises at the end of each chapter help you test yourself to make sure youre ready to go on

Starter Kit software provides everything you need to create and compile C++ programs on any platformWindows, Mac or Linux

 

Learn how to





Install and use a C++ compiler for Windows, Mac OS X or Linux Build object-oriented programs in C++ Master core C++ concepts such as functions, classes, arrays, and pointers Add rich functionality with linked lists and templates Debug your programs for flawless code Learn exception and error-handling techniques Discover whats new in C++0x, the next version of C++

 

Jesse Liberty is the author of numerous books on software development, including best selling titles on C++ and .NET. He is the president of Liberty Associates, Inc. where he provides custom programming, consulting, and training.

 

Rogers Cadenhead is a web application developer who has written many books on Internet-related topics, including Teach Yourself Java in 24 Hours. He maintains this books official website at http://cplusplus.cadenhead.org.

 

CD-ROM Includes

C++ compiler

Visual development environment for Windows, Mac and Linux

Source code for the books examples

 

Register your book at informit.com/register for convenient access to updates and corrections as they become available.

 

 

 
Introduction 1(4)
Part I Beginning C++
Hour 1 Writing Your First Program
5(10)
Using C++
5(1)
Finding a Compiler
6(3)
Compiling and Linking the Source Code
9(1)
Creating Your First Program
10(5)
Hour 2 Organizing the Parts of a Program
15(14)
Reasons to Use C++
15(4)
The Parts of a Program
19(3)
Comments
22(1)
Functions
23(6)
Hour 3 Creating Variables and Constants
29(14)
What Is a Variable?
29(4)
Defining a Variable
33(2)
Assigning Values to Variables
35(1)
Using Type Definitions
36(1)
Constants
37(6)
Hour 4 Using Expressions, Statements, and Operators
43(20)
Statements
43(1)
Expressions
44(1)
Operators
45(8)
If-Else Conditional Statements
53(3)
Logical Operators
56(2)
Tricky Expression Values
58(5)
Hour 5 Calling Functions
63(18)
What Is a Function?
63(1)
Declaring and Defining Functions
64(2)
Using Variables with Functions
66(3)
Function Parameters
69(1)
Returning Values from Functions
70(2)
Default Function Parameters
72(2)
Overloading Functions
74(7)
Hour 6 Controlling the Flow of a Program
81(16)
Looping
81(1)
While Loops
81(4)
do-while Loops
85(1)
for Loops
86(4)
Switch Statements
90(7)
Hour 7 Storing Information in Arrays and Strings
97(14)
What Is an Array?
97(2)
Writing Past the End of Arrays
99(1)
Initializing Arrays
100(1)
Multidimensional Arrays
101(3)
Character Arrays
104(2)
Copying Strings
106(5)
Part II Classes
Hour 8 Creating Basic Classes
111(14)
What Is a Type?
111(1)
Creating New Types
112(1)
Classes and Members
112(2)
Accessing Class Members
114(1)
Private Versus Public Access
115(1)
Implementing Member Functions
116(2)
Creating and Deleting Objects
118(7)
Hour 9 Moving into Advanced Classes
125(12)
Const Member Functions
125(1)
Interface Versus Implementation
126(1)
Organizing Class Declarations and Function Definitions
126(1)
Inline Implementation
127(2)
Classes with Other Classes as Member Data
129(8)
Part III Memory Management
Hour 10 Creating Pointers
137(18)
Understanding Pointers and Their Usage
137(9)
The Stack and the Heap
146(9)
Hour 11 Developing Advanced Pointers
155(14)
Creating Objects on the Heap
155(1)
Deleting Objects
155(2)
Accessing Data Members Using Pointers
157(1)
Member Data on the Heap
158(2)
The this Pointer
160(1)
Stray or Dangling Pointers
161(1)
Const Pointers
162(1)
Const Pointers and const Member Functions
163(6)
Hour 12 Creating References
169(16)
What Is a Reference?
169(1)
Creating a Reference
170(1)
Using the Address of Operator on References
171(2)
What Can Be Referenced?
173(1)
Null Pointers and Null References
174(1)
Passing Function Arguments by Reference
174(5)
Understanding Function Headers and Prototypes
179(1)
Returning Multiple Values
179(6)
Hour 13 Developing Advanced References and Pointers
185(16)
Passing by Reference for Efficiency
185(3)
Passing a const Pointer
188(3)
References as an Alternative to Pointers
191(1)
When to Use References and When to Use Pointers
192(1)
Don't Return a Reference to an Object That Isn't in Scope!
193(1)
Returning a Reference to an Object on the Heap
194(2)
Pointer, Pointer, Who Has the Pointer?
196(5)
Part IV Advanced C++
Hour 14 Calling Advanced Functions
201(14)
Overloaded Member Functions
201(2)
Using Default Values
203(2)
Initializing Objects
205(1)
The Copy Constructor
206(9)
Hour 15 Using Operator Overloading
215(18)
Operator Overloading
215(10)
Conversion Operators
225(8)
Part V Inheritance and Polymorphism
Hour 16 Extending Classes with Inheritance
233(20)
What Is Inheritance?
233(3)
Private Versus Protected
236(2)
Constructors and Destructors
238(3)
Passing Arguments to Base Constructors
241(4)
Overriding Functions
245(8)
Hour 17 Using Polymorphism and Derived Classes
253(16)
Polymorphism Implemented with Virtual Methods
253(4)
How Virtual Member Functions Work
257(12)
Hour 18 Making Use of Advanced Polymorphism
269(20)
Problems with Single Inheritance
269(4)
Abstract Data Types
273(16)
Hour 19 Storing Information in Linked Lists
289(14)
Linked Lists and Other Structures
289(1)
Linked List Case Study
290(9)
Linked Lists as Objects
299(4)
Part VI Special Topics
Hour 20 Using Special Classes, Functions, and Pointers
303(28)
Static Member Data
303(2)
Static Member Functions
305(2)
Containment of Classes
307(6)
Friend Classes and Functions
313(18)
Hour 21 Using New Features of C++Ox
331(12)
The Next Version of C++
331(1)
Null Pointer Constant
332(1)
Compile-Time Constant Expressions
333(2)
Auto-Typed Variables
335(3)
New for Loop
338(5)
Hour 22 Employing Object-Oriented Analysis and Design
343(30)
The Development Cycle
343(1)
Simulating an Alarm System
344(7)
PostMaster: A Case Study
351(22)
Hour 23 Creating Templates
373(16)
What Are Templates?
373(1)
Instances of the Template
374(1)
Template Definition
374(7)
Using Template Items
381(8)
Hour 24 Dealing with Exceptions and Error Handling
389(20)
Bugs, Errors, Mistakes, and Code Rot
389(1)
Handling the Unexpected
390(1)
Exceptions
391(4)
Using try and catch Blocks
395(5)
Writing Professional-Quality Code
400(9)
Part VII Appendices
Appendix A Binary and Hexadecimal
409(10)
Other Bases
410(1)
Around the Bases
410(4)
Hexadecimal
414(5)
Appendix B Glossary
419(8)
Appendix C This Book's Website
427(2)
Index 429
Jesse Liberty is the author of numerous books on software development, including best-selling titles on C++ and .NET. He is the president of Liberty Associates, Inc. (http://www.libertyassociates. com), where he provides custom programming, consulting, and training.

 

Rogers Cadenhead is a writer, computer programmer, and web developer who has written 23 books on Internet-related topics, including Sams Teach Yourself Java in 21 Days and Sams Teach Yourself Java in 24 Hours. He publishes the Drudge Retort and other websites that receive more than 22 million visits a year. This books official website is at http://cplusplus.cadenhead.org.