- Subjects
- Published
-
Warwickshire, United Kingdom :
In Easy Steps
[2017]
- Language
- English
- Main Author
- Edition
- Fifth edition
- Physical Description
- 192 pages : color illustrations ; 23 cm
- Bibliography
- Includes index.
- ISBN
- 9781840787573
- 1. Getting started
- Introducing C++
- Installing a compiler
- Writing your first program
- Compiling & running programs
- Creating variables
- Employing variable arrays
- Employing vector arrays
- Declaring constants
- Summary
- 2. Performing operations
- Doing arithmetic
- Assigning values
- Comparing values
- Assessing logic
- Examining conditions
- Establishing size
- Setting precedence
- Casting data types
- Summary
- 3. Making statements
- Branching with if
- Switching branches
- Looping for
- Looping while
- Declaring functions
- Passing arguments
- Overloading functions
- Optimizing functions
- Summary
- 4. Handling Strings
- Creating string variables
- Getting string input
- Solving the string problem
- Discovering string features
- Joining & comparing strings
- Copying & swapping strings
- Finding substrings
- Replacing substrings
- Summary
- 5. Reading and writing files
- Writing a file
- Appending to a file
- Reading characters & lines
- Formatting with getline
- Manipulating input & output
- Predicting problems
- Recognizing exceptions
- Handling errors
- Summary
- 6. Pointing to data
- Understanding data storage
- Getting values with pointers
- Doing pointer arithmetic
- Passing pointers to functions
- Making arrays of pointers
- Referencing data
- Passing references to functions
- Comparing pointers & references
- Summary
- 7. Creating classes and objects
- Encapsulating data
- Creating an object
- Creating multiple objects
- Initializing class members
- Overloading methods
- Inheriting class properties
- Calling base constructors
- Overriding base methods
- Summary
- 8. Harnessing polymorphism
- Pointing to classes
- Calling a virtual method
- Directing method calls
- Providing capability classes
- Making abstract data types
- Building complex hierarchies
- Isolating class structures
- Employing isolated classes
- Summary
- 9. Processing macros
- Exploring compilation
- Defining substitutes
- Defining conditions
- Providing alternatives
- Guarding inclusions
- Using macro functions
- Building strings
- Debugging assertions
- Summary
- 10. Programming visually
- Starting a Universal project
- Inserting page components
- Importing program assets
- Designing the layout
- Adding runtime function
- Testing the program
- Adjusting the interface
- Deploying the application
- Summary
- Index