Instructor-led training
Introduction to C++ for Absolute Beginners Training in Grain Valley, Missouri
For those students who have little programming experience.
What you'll learn
For those students who have little programming experience.
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Grain Valley, Missouri or live online. Dates, delivery format, and course content are arranged around your team's requirements.
This course is not currently scheduled as a public class for individual enrollment.
Request Group TrainingPrerequisites
Course Outline
What makes this material hard to master
The syllabus covers a lot for two days. It runs from a first program to virtual functions, so the main challenge is that each block depends on the one before it.
- Types are not abstract. Strong typing, signed and unsigned integers, twos complement, integer type ranges, automatic conversion and the cast all show up early. A common misconception is that a variable holds "a number". In C++ it holds a value of a specific size and range, and mixed-type expressions can quietly change results.
- Control flow and scope. While, counted and for loops, sentinels, nested if statements and variable scope are taught as structured programming. This is where learners practice tracing a program by hand.
- Functions and memory. Prototypes, pass-by-value versus pass-by-reference, header files, conditional compilation and recursion lead into pointers, address arithmetic, arrays, strings and dynamic allocation with malloc and free. Many beginners find this the steepest part: a pointer is an address, an array name is closely related to one, and allocated memory must be released exactly once.
- From structures to classes. Structures, typedef and unions come first. Classes then add encapsulation, the this pointer, the scope resolution operator and test programs for classes.
- Object-oriented behavior. Inheritance, protected members, member initializer lists, order of initialization, composition versus inheritance, dynamic binding, the vtable, virtual destructors, pure virtual functions and heterogeneous collections. Learners often assume a base-class pointer will call the derived behavior. It only does so when the function is virtual.
Who it suits and what to take next
The course is introductory and lists no prerequisites. It suits people with little programming experience, such as testers, analysts, or developers from another language who need to read or begin writing C++. The syllabus includes a short comparison with Visual Basic typing, which helps people coming from that background.
Because it spans so much material in two days, it works best as an orientation and a base for further study. For a longer, fuller treatment of the language, the C++ Programming for Non-C Programmers course (5 days) is a natural next step, since it revisits fundamentals at a slower pace. Once the class and inheritance basics are comfortable, the C++11/C++14 course (2 days) covers language features that this syllabus does not. The C++ Standard Template Library course (3 days) is the follow-up for working with the library's containers and algorithms. See also the C++ Programming courses and learning guide.
Illustrative scenarios
The scenarios below are illustrations of how the course material can be applied. They are not descriptions of specific organizations or of the course's lab exercises.
- Reading an existing code base. For example, an analyst inherits a small utility that uses structures, header files and conditional compilation. The syllabus topics on function prototypes, preprocessor directives and structures with functions give the vocabulary to follow it.
- Building a small command-line tool. A team might write a program that takes command-line arguments, reads input, accumulates totals with a sentinel or counted loop, and prints results. That draws on I/O, loops, arrays, strings and functions.
- Modeling a simple class hierarchy. A developer might model employees of different kinds behind an abstract class with a pure virtual function. They would keep them in one heterogeneous collection and call the right behavior through base-class pointers. This ties together inheritance, virtual functions, the vtable and virtual destructors.
Using AI coding assistants with these topics
Where they help. AI coding assistants can explain what a short program does, translate a compiler message into plain language, and draft small examples of a loop, a function prototype or a simple class. That suits a beginner who is stuck on an unfamiliar error.
Where they fail. The topics in this syllabus are where subtle errors hide. An assistant may produce code that reads uninitialized variables, overflows a signed integer, mismatches malloc and free, indexes past the end of an array, or returns the address of a local variable. It may also declare a base-class destructor non-virtual, so deleting through a base pointer skips the derived cleanup. Such code often compiles and appears to work. Assistants also tend to substitute library features the syllabus does not cover, which can hide the concept being learned.
How to verify.
- Compile with warnings enabled and treat them as errors.
- Run the program under a sanitizer, such as address and undefined-behavior checking, to catch memory and overflow errors.
- Test boundary inputs: the limits of an integer type, empty input, and the first and last array elements.
- Trace pointer and loop code by hand or in a debugger before trusting it.
Frequently asked questions
What level is this course?
It is introductory. It starts with a first C++ program, input and output, and variables, and builds to classes, inheritance and virtual functions.
Do I need programming experience first?
No prerequisites are listed. The description says the course is for students with little programming experience.
What does the syllabus cover?
It covers data types and operators, loops, functions and program structure, pointers, arrays and strings, structures and unions, classes, inheritance, composition and polymorphism with virtual functions. It does not list topics beyond these, so see the related courses for further study.
Can this course be delivered privately for our team, onsite or online?
Yes. HSG delivers private training for organizations, either onsite at the client's location or live online.
Can the content be customized?
Private training can be tailored, including to the technology versions your organization uses. You can describe your needs through the training proposal request.Training locations
Introduction to C++ for Absolute Beginners training across the U.S. and beyond.
We provide private Introduction to C++ for Absolute Beginners training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all Introduction to C++ for Absolute Beginners training locations
Train your team with HSG
Private, instructor-led training customized for your organization.
- Onsite or live online delivery
- Customized curriculum
- For a single employee or an entire team
- Flexible scheduling
- Experienced instructors
Questions? Call us at 303.377.6176
or email info@hartmannsoftware.com
Ready to train your team?
Let's customize this training for your organization.
Tell us about your employees, your goals, and your preferred schedule. We'll prepare a training proposal covering scope, delivery format, and pricing.