COMS-171.AB1 ISBN: 979-8-90059-993-9
COMS-171 Introduction to C++
Beginner Self-paced · 1 year access
30 Hands-On LiveLabs
Practice real IT tasks in guided environments.
- Real environments
- Auto-graded
- No installation
01 / Lessons & labs
See exactly what you will learn and practice
Lessons
17 Interactive Lessons · 101 topics01 Introduction 5 topics · 1 LiveLab +
- Who Should Read This Course?
- Should I Learn C First?
- Why Should I Learn C++?
- What If I Don’t Want This Course?
- Conventions Used in This Course
1 LiveLab in this lesson — see the labs panel →
02 Hour 1: Writing Your First Program 4 topics · 1 LiveLab +
- Using C++
- Compiling and Linking the Source Code
- Creating Your First Program
- Summary
1 LiveLab in this lesson — see the labs panel →
03 Hour 2: Organizing the Parts of a Program 5 topics · 1 LiveLab +
- Reasons to Use C++
- The Parts of a Program
- Comments
- Functions
- Summary
1 LiveLab in this lesson — see the labs panel →
04 Hour 3: Creating Variables and Constants 7 topics · 1 LiveLab +
- What Is a Variable?
- Defining a Variable
- Assigning Values to Variables
- Using Type Definitions
- Constants
- Auto-Typed Variables
- Summary
1 LiveLab in this lesson — see the labs panel →
05 Hour 4: Using Expressions, Statements, and Operators 7 topics · 3 LiveLab +
- Statements
- Expressions
- Operators
- If-Else Conditional Statements
- Logical Operators
- Tricky Expression Values
- Summary
3 LiveLab in this lesson — see the labs panel →
06 Hour 5: Calling Functions 9 topics · 3 LiveLab +
- What Is a Function?
- Declaring and Defining Functions
- Using Variables with Functions
- Function Parameters
- Returning Values from Functions
- Default Function Parameters
- Overloading Functions
- Auto-Typed Return Values
- Summary
3 LiveLab in this lesson — see the labs panel →
07 Hour 6: Controlling the Flow of a Program 6 topics · 5 LiveLab +
- Looping
- while Loops
- do-while Loops
- for Loops
- switch Statements
- Summary
5 LiveLab in this lesson — see the labs panel →
08 Hour 7: Storing Information in Arrays and Strings 8 topics · 4 LiveLab +
- What Is an Array?
- Writing Past the End of Arrays
- Initializing Arrays
- Multidimensional Arrays
- Character Arrays
- Copying Strings
- Reading Arrays with Foreach Loops
- Summary
4 LiveLab in this lesson — see the labs panel →
09 Hour 8: Creating Basic Classes 8 topics · 3 LiveLab +
- What Is a Type?
- Creating New Types
- Classes and Members
- Accessing Class Members
- Private Versus Public Access
- Implementing Member Functions
- Creating and Deleting Objects
- Summary
3 LiveLab in this lesson — see the labs panel →
10 Hour 9: Moving into Advanced Classes 6 topics · 1 LiveLab +
- const Member Functions
- Interface Versus Implementation
- Organizing Class Declarations and Function Definitions
- Inline Implementation
- Classes with Other Classes as Member Data
- Summary
1 LiveLab in this lesson — see the labs panel →
11 Hour 10: Creating Pointers 4 topics · 2 LiveLab +
- Understanding Pointers and Their Usage
- The Stack and the Heap
- Null Pointer Constant
- Summary
2 LiveLab in this lesson — see the labs panel →
12 Hour 11: Developing Advanced Pointers 9 topics · 2 LiveLab +
- Creating Objects on the Heap
- Deleting Objects
- Accessing Data Members Using Pointers
- Member Data on the Heap
- The this Pointer
- Stray or Dangling Pointers
- const Pointers
- const Pointers and const Member Functions
- Summary
2 LiveLab in this lesson — see the labs panel →
13 Hour 12: Creating References 9 topics · 1 LiveLab +
- What is a Reference?
- Creating a Reference
- Using the Address of Operator on References
- What Can Be Referenced?
- Null Pointers and Null References
- Passing Function Arguments by Reference
- Understanding Function Headers and Prototypes
- Returning Multiple Values
- Summary
1 LiveLab in this lesson — see the labs panel →
14 Hour 13: Developing Advanced References and Pointers 8 topics · 2 LiveLab +
- Passing by Reference for Efficiency
- Passing a const Pointer
- References as an Alternative to Pointers
- When to Use References and When to Use Pointers
- References to Objects Not in Scope
- Returning a Reference to an Object on the Heap
- Pointer, Pointer, Who Has the Pointer?
- Summary
2 LiveLab in this lesson — see the labs panel →
15 Appendix A: Binary and Hexadecimal 3 topics +
- Other Bases
- Around the Bases
- Hexadecimal
16 Appendix B: Using the MinGW C++ Compiler on Windows 3 topics +
- Downloading MinGW-w64
- Setting the Path Environment Variable
- Testing Your Installation
17 Appendix C: Project +
Hands-On Labs Our edge
30 LiveLabs- Sandbox
- Creating Your First Program
- Understanding Preprocessor Directives
- Using Constants
- Using the If-Else Conditional Statement
- Using the Compound If Statements
- Using the if Statement
- Using Local Variables with Functions
- Using the Function Parameters
- Using Function Overloading
- Understanding the continue Statement
- Using the while Loop
- Using the do-while Loop
- Using the Nested Loops
- Using the switch Statement
- Initializing Arrays
- Using an Array
- Implementing a Character Array
- Storing Data in an Array
- Implementing Member Functions
- Implementing Member Variables and Member Functions
- Creating Objects
- Understanding the const Member Function
- Understanding Pointers
- Using the new and delete Keywords
- Using the Arrow Operator
- Understanding const Pointers and const Member Functions
- Creating a Reference
- Returning by Reference
- Passing a const Pointer
02 / FAQs
Questions before you start
Prepare for COMS-171 Introduction to C++
One-time payment. Full access for 1 year. Start with a free trial if you want to look around first.
- 1 year of full access
- 30 LiveLab included
- Certificate of completion
No credit card required