C++ all-in-one for dummies
Here's the easy way to learn how to use C++ C++, developed by Bjarne Stroustrup at Bell Labs, is one of the most widely used programming languages, with close to four million C++ programmers and growing. C++'s popularity has earned it a spot as part of the Standard Library. Fully updated f...
Autor principal: | |
---|---|
Otros Autores: | |
Formato: | Libro electrónico |
Idioma: | Inglés |
Publicado: |
Hoboken, N.J. :
Wiley
c2009.
|
Edición: | 2nd ed |
Colección: | --For dummies.
|
Materias: | |
Ver en Biblioteca Universitat Ramon Llull: | https://discovery.url.edu/permalink/34CSUC_URL/1im36ta/alma991009627499706719 |
Tabla de Contenidos:
- C++ All-In-One for Dummies, 2nd Edition; About the Authors; Dedication; Authors' Acknowledgments; Introduction; No Experience Necessary; Great for Advanced Folks, Too!; For All Computers; Conventions; Organization; Icons Galore; What's Next?; Book I: Introducing C++; Contents at a Glance; Chapter 1: Creating a First C++ Program; Creating a Project; Typing the Code; Starting with Main; Showing Information; Let Your Program Run Away; Chapter 2: Storing Data in C++; Putting Your Data Places: Variables; Manipulating Integer Variables; Characters; Strings; Deciding between Conditional Operators
- Telling the Truth with Boolean VariablesReading from the Console; Chapter 3: Directing Your C++ Program Flow; Doing This or Doing That; Evaluating Conditions in C++; Including Evaluations in C++ Conditional Statements; Repeating Actions with Statements That Loop; Chapter 4: Dividing Your Work with Functions; Dividing Your Work; Calling a Function; Writing Your Own Functions; Calling All String Functions; Understanding main; Chapter 5: Dividing Between Source-Code Files; Creating Multiple Source Files; Sharing with Header Files; Sharing Variables Among Source Files
- Using the Mysterious Header WrappersChapter 6: Referring to Your Data through Pointers; Heaping and Stacking the Variables; Dynamically Allocating with new; Freeing Pointers; Passing Pointer Variables to Functions; Returning Pointer Variables from Functions; Returning a Pointer as a Nonpointer; Passing by Reference; Remembering the Rules; Chapter 7: Working with Classes; Understanding Objects and Classes; Working with a Class; Starting and Ending with Constructors and Destructors; Building Hierarchies of Classes; Chapter 8: Using Advanced C++ Features; Filling Your Code with Comments
- Converting TypesReading from the Console; Understanding Preprocessor Directives; Using Constants; Using Switch Statements; Supercharging enums with Classes; Working with Random Numbers; Storing Data in Arrays; Book II: Understanding Objects and Classes; Contents at a Glance; Chapter 1: Planning and Building Objects; Recognizing Objects; Encapsulating Objects; Building Hierarchies; Discovering Classes; Chapter 2: Describing Your Program with UML; Moving Up to UML; Building with UML and the Unified Process; Moving Forward with UML; Chapter 3: Structuring Your Classes with UML; Drawing Classes
- Building ComponentsDeploying the Software; Chapter 4: Demonstrating Behavior with UML; Drawing Objects; Casing Out the Use Cases; Sequence Diagrams; Collaboration Diagrams; Activity Diagrams; State Diagrams; Chapter 5: Modeling Your Programs with UML; Using UML Goodies; Free to Be UML; C++ and UML; Chapter 6: Building with Design Patterns; Introducing a Simple Pattern: the Singleton; Watching an Instance with an Observer; Mediating with a Pattern; Book III: Fixing Problems; Contents at a Glance; Chapter 1: Dealing with Bugs; It's Not a Bug. It's a Feature!
- Make Your Programming Features Look Like Features