Instructor-led training
C++ Programming for Non-C Programmers Training in Horseheads, New York
This course is a comprehensive hands-on introduction to object oriented programming in C++ for non-C programmers.
What you'll learn
Private Training for Teams
This course is offered as private, instructor-led training for organizations, onsite in Horseheads, New York 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
First C++ Programs
Hello, World
Compiling and Running
C++ Program Components
Another C++ Program (Preview)
I/O in C++
Variables
Expressions
Assignment
Using C++ as a Calculator
Input in C++
Echo Program
Data Types and Operators
Data Types
Strong Typing
Typing in C++
Conversions in C++
Typing in Visual Basic
Primitive C++ Data Types
Signed and Unsigned
Twos Complement
C++ Integer Type Ranges
IntegerRange.cpp
Integer Constants
Variables in C++
Const Variables
Preprocessor Macros
Identifiers
Floating Point Numbers
Floating Point Data Types
Calculations
Integer Operations
Increment and Decrement
Precedence of Integer Operations
Floating Point Operations
op=
Mixed Data Types
Automatic Conversion
Cast
Math Library
Logical and Bit Operations
Bool Variables
Bool Operations and Truth Tables
Relational Operators
If Tests
Flow Chart
A Pitfall
Bitwise Operators
Bitwise Operator Truth Tables
Short Circuit Evaluation
Shifting
Masking
Loops and Structured Programming
Loops
While Loops
Infinite Loops
Flowcharting a While Loop
Indenting and Curly Braces
Accumulating a Total
Total Using a Sentinel
Counted Loops
Total Using a Counter
For Loops
Total Using a For Loop (Up)
Total Using a For Loop (Down)
Comparing For and While Loops
Variable Scope
Loops and If Tests Together
Nested If Statements
Review of Statements
Compound Statements
Structured Programming
Object-Oriented Programming
Functions and Program Structure
Basics of Functions
Function Prototypes and Type Checking
Returning Value
Argument Passing
Pass-by-Reference
Alternative to Pass-by-Reference
External Variables
Block Structure
Scope Rules
Header Files
Preprocessor Directives
Conditional Compilation
Recursion
Pointers and Arrays
Pointers and Addresses
Pointers and Function Arguments
Pointers and Arrays
Address Arithmetic
Dynamic Memory Management
Using malloc and free
Array of Pointers
Strings
String Functions
Array of Strings
Command Ling Arguments
Pointers to Functions
Structures and Unions
Fundamentals of Structures
Structure Declaration
Structures and Functions
Typedef
Arrays of Structures
Array of Structures Initialization
Unions
Concepts of Object-Oriented Programming
Object
State and Behavior
Abstraction
Encapsulation
Class and Instantiation
Abstract Data Types
Methods
Invoking Methods
Messages
Class Inheritance
Polymorphism
Classes in C++
Data Encapsulation in C
The C++ Class
Structures and Class in C++
Implementation of a C++ Class
this Pointer
Code Organization
Scope Resolution Operator
Abstract Data Types
Test Programs for C++ Classes
Functions in C++
Function Prototypes in C++
Strong Type Checking
Conversion of Parameters
Inline Functions
Inline Functions in Header Files
Default Arguments
Function Overloading
Argument Matching
Argument Matching through Promotion
Match through Type Conversion
Call by Value
Constructors and Destructors
The Problem of Initialization
Constructors and Initialization
Constructor in Stack Class
Object Creation and Destruction
Destructors
Multiple Constructors
String Class Implementation
Hidden Constructors
Using a Default Argument
Memory Management in C++
Why is Memory Management Important in C++?
Choices for an Object's Memory
Typical Memory Layout
Free Store Allocation
new Operator
Memory Allocation Errors
new vs. malloc
delete Operator
Destructor (Review)
Hiding Memory Management
String Class Specification (Version 2)
String Class Implementation
String Class Bug
References and Argument Passing in C++
Variables
Argument Passing
Call-by-Value
Reference Declarations
Call-by-Reference
Copy Constructor
Default Copy Constructor
Bug in String Class
Specification of String Class
Implementation of String Class
Test Program
Output of Test Program
Review of Constant Types
Constants and Arguments
Chains of Functions Calls
const Objects and Member Functions
Operator Overloading, Initialization, and Assignment
Operator Overloading
Operator Functions
Semantics of return
Returning a Temporary Object
Returning a Reference
Initialization vs. Assignment
Semantics of Assignment
Assignment
Assignment Bug
Overloading =
Review of this Pointer
Type Conversions
Conversion by Construction
Overloading Cast Operator
Test Program
Scope and Access Control
Scoping in C++
Block and Function Scope
File and Global Scope
Class Scope
Constant Types and Scope
Enumeration Types
Enumeration Types and Class Scope
:: for Global Data
Static Class Members
Initialization of Static Member
Static Function Class Members
Access Control
Friend Functions
Invoking Member and Friend Functions
Implementing a Friend Function
Efficiency and Friend Functions
Introduction to Inheritance
Inheritance Concept
Inheritance in C++
Employee Test Program
Protected Members
Best Class Initializer List
Composition
Member Initializer List
Order of Initialization
Inheritance vs. Composition
Polymorphism and Virtual Functions
A Case for Polymorphism
Dynamic Binding
Pointer Conversion in Inheritance
Polymorphism Using Dynamic Binding
Virtual Function Specification
Invoking Virtual Functions
Vtable
Virtual Destructors
Abstract Class Using Pure Virtual Function
Employee as an Abstract Class
Heterogeneous Collections
What makes this material hard to master
The syntax is rarely the hard part for someone who already programs. The harder shift is that C++ makes you decide where an object's memory lives and when it is cleaned up. The syllabus builds toward that in two stages.
Stage one: the procedural core. It starts with iostream input and output, then data types, signed and unsigned integers, two's complement, implicit conversion and casts. Bitwise operators, shifting and masking, loops, functions, pass-by-reference, the preprocessor and recursion follow. Pointers, address arithmetic, arrays, strings, malloc/free, pointers to functions, structures and unions come next. Pointers are usually the first real hurdle for people coming from languages that hide addresses.
Stage two: classes and their obligations. Each topic introduces a responsibility that the next one depends on:
- Constructors and destructors raise the question of initialization and cleanup.
- Free store allocation with
newanddeleteraises ownership. The syllabus's String class goes through several versions and a bug, which shows how a hand-managed class goes wrong. - That bug leads to the copy constructor and to overloading
=. Initialization and assignment are different operations, and confusing them is a classic error. - Operator overloading, returning a temporary versus a reference,
constmember functions, static members and friend functions then refine class design. - Inheritance, composition, virtual functions, the vtable, virtual destructors and abstract classes complete the picture.
Common misconceptions: that a C++ struct or class copies safely by default when it owns memory, that new and malloc are interchangeable, and that a base-class pointer deletes a derived object correctly without a virtual destructor. Each of these maps to a syllabus topic where the failure can be reproduced and examined.
Who it suits and what to take around it
The stated prerequisite is knowledge of a programming language, not C. The course suits developers from languages such as Visual Basic (the syllabus compares typing in Visual Basic) or other environments who need to read, write and maintain object-oriented C++. It runs five days and is rated general level. Because it teaches the C-style core alongside classes, it fits people who will also meet pointer-heavy existing code.
If you have little or no programming background, Introduction to C++ for Absolute Beginners is a shorter starting point that covers the basics before a full course like this one.
After this course, C++ Standard Template Library is a natural next step. You will have written your own String and stack classes by hand, so you are in a good position to see what standard containers and algorithms provide. For newer language features, Modern C++ Programming using C++11/C++14 builds on the class and memory model taught here.
Organizations whose codebases target a specific compiler or language standard can ask about customized private training through the training proposal request.
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.
- Extending an existing domain model. For example, a team might inherit code with an
Employee-style base class and several derived types held in one collection. The syllabus topics on inheritance, protected members, composition versus inheritance, virtual functions, pure virtual functions and heterogeneous collections explain how that design works. The virtual destructor material explains why deleting through a base pointer needs care. - Wrapping a resource in a class. A developer might need a class that owns a buffer or string and behaves correctly when passed to functions and assigned. Constructors, destructors,
new/delete, the copy constructor, overloaded assignment andconstmember functions are the techniques involved. - Working with packed flags and status values. A team handling device or protocol data might use bitwise operators, shifting and masking, unsigned types, structures and unions to read and set individual fields. The syllabus covers these in its logical-and-bit-operations and structures sections.
AI coding assistants and this material
AI coding assistants can be useful here. They can explain what a compiler diagnostic means, describe what a pointer expression such as address arithmetic does, summarize an unfamiliar class hierarchy, and draft test programs for a class. That last use pairs well with the syllabus's habit of writing test programs for each class.
They fail most often on the topics that make this course hard. Generated code may allocate with new but release with free, omit a copy constructor or assignment operator for a class that owns memory, or skip a virtual destructor in a base class. It may also return a reference to a local object or mix C-style and C++-style memory handling. This code often compiles and passes a quick run, so the defect stays hidden.
To verify, turn on compiler warnings and treat them as errors, run the code under sanitizers such as ASan and UBSan, and write tests that copy, assign and destroy objects, including through base-class pointers. Review ownership by hand: for every allocation, name what releases it. Learn the rules first, because you need them to judge what an assistant produces.
Frequently asked questions
What level is this course, and who is it for?
It is a general-level, five-day introduction to object-oriented programming in C++ for developers who do not already know C. It starts with simple programs and moves through the C-style core to classes, memory management, operator overloading, inheritance and polymorphism.
What are the prerequisites?
Knowledge of a programming language. Prior C experience is not required, because the course covers data types, control flow, functions, pointers, arrays, strings, structures and unions before it introduces classes.
What does the course cover?
Two modules. The first covers iostream I/O, data types and operators, bit operations, loops, functions, pointers and arrays, and structures and unions. The second covers classes, constructors and destructors, memory management with new and delete, references and the copy constructor, operator overloading, scope and access control, inheritance, and virtual functions with abstract classes.
Can this 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 courses can be tailored, including to the compiler or language versions your organization uses. Use the training proposal request to describe your environment and goals.
HSG Technology & Workforce Intelligence
Most relevant to C++ Programming for Non-C Programmers
- Software developers, employment: 80 (May 2025; U.S. Bureau of Labor Statistics)
- Software developers, concentration relative to the U.S. (location quotient): 0.23 (May 2025; U.S. Bureau of Labor Statistics)
- Corning Incorporated - Solid Mechanics Modeling Engineer (Corning, NY) - The posting is dated Jun 3, 2026, located in Corning, NY. It asks for programming and scripting skills in Python, MATLAB, or C++. I could not confirm that the posting is still open as of today. (corningjobs.corning.com)
- Computer and mathematical occupations, employment: 480 (May 2025; U.S. Bureau of Labor Statistics)
Selected for this course from the verified data in the section below.
Key findings for C++
- The official data counts occupations, industries and degrees, not programming languages, so it does not measure C++ use. A few specific items do mention it: two Corning Incorporated postings in nearby Corning, NY (checked 2026-11-29) name C++ among required or requested skills, and SUNY Corning Community College lists C/C++ in both its credit and career-training offerings. These are a few observations, not a measure of the whole market.
- In our reading, C++ fits the area's engineering and manufacturing base. Manufacturing employment had a concentration of 1.67 relative to the U.S. (2024 annual average), and industrial engineers 1.61 (May 2025). C++ is common in embedded, simulation and equipment-control work.
- Skills worth building: modern C++ (smart pointers, move semantics, the STL), plus Python, which appears beside C++ in both the Corning postings and the career-training listings.
- Computer and mathematical occupations employed 480 people in the Elmira, NY metropolitan area in May 2025, with a median annual wage of $79,250 against $47,850 for all occupations. Their concentration relative to the U.S. was 0.42, so this is a small technology labor market.
- Among the area's bachelor's degree holders, 3.3% hold a degree in computers, mathematics or statistics (ACS 2020-2024 5-year), against 5.1% for the United States.
Workforce: occupations, industries and pay
These figures describe occupations, not C++ use. Computer and mathematical occupations employed 480 people in the Elmira, NY metropolitan area in May 2025 and paid a median of $79,250, well above the $47,850 median for all occupations. Software developers numbered 80, a concentration of 0.23 relative to the U.S. The area's relative strength is in making things: production occupations had a concentration of 1.59 and industrial engineers 1.61. In our reading, C++ work here is more likely to sit inside engineering and manufacturing teams than in dedicated software companies.
Talent and education
Of the area's bachelor's degree holders, 9.9% hold an engineering degree and 3.3% a degree in computers, mathematics or statistics (ACS 2020-2024 5-year). The U.S. figure for computing-related degrees is 5.1%. Elmira College awarded one mathematics and statistics degree in the 2023-24 academic year, a small signal about local supply. For C++ learners, this suggests that engineers who add programming, and programmers who learn engineering domains, may be an important pipeline.
Economy and investment
Manufacturing employed 4,624 people in the area (private sector, 2024 annual average), down 9.2% from the 2019 annual average. Computer and electronic product manufacturing, a smaller group at 387 jobs, grew 10.9% over the same period and had an average weekly wage of $2,105, against $1,177 for all industries. Real gross domestic product in the area was 3.2% lower in 2023 than in 2018. Federal grants obligated in the area were $36.9 million in FY2025. These are signals worth watching, not promises.
How Elmira compares
| Area | Bachelor's or higher (ACS 2020-2024 5-year) | Computing degrees (share of bachelor's holders) (ACS 2020-2024 5-year) | Computer and math jobs, LQ (May 2025) | Software developers, LQ (May 2025) | Computer systems design industry, LQ (2024 annual average) |
|---|---|---|---|---|---|
| Elmira, NY | 27.2% | 3.3% | 0.42 | 0.23 | 0.19 |
| United States | 35.7% | 5.1% | 1.00 | 1.00 | 1.00 |
| New York State | 40.2% | 5.0% | 0.96 | 1.08 | 0.79 |
| Columbus, IN | 34.1% | 5.2% | 0.55 | 0.53 | 0.60 |
| Kokomo, IN | 20.8% | 3.2% | 0.25 | 0.15 | 0.14 |
| Midland, MI | 36.6% | 5.1% | 0.69 | 0.41 | 0.07 |
| Casper, WY | 27.7% | 3.5% | 0.33 | 0.35 | 0.25 |
| Great Falls, MT | 28.4% | 2.9% | 0.44 | 0.18 | 0.21 |
LQ (location quotient) compares the share of jobs in an occupation or industry with the national share; 1.00 equals the U.S. average.
Each column uses one period for every area; "not published" means the publisher released no estimate, not zero.
Skills and technologies to build
This part is HSG's interpretation of the data above for people learning C++. The official sources measure occupations, industries and degrees, not programming languages.
Why C++ fits this regional economy. In our reading, the area's strong occupations and industries point to a use for C++ where software meets physical products. Examples are modeling and simulation tools, automated equipment and embedded control. Manufacturing (concentration 1.67 relative to the U.S., 2024 annual average) and computer and electronic product manufacturing (1.74) are the industries where such work is most plausible. Computer systems design is a thin local industry, with a concentration of 0.19.
Evidence of C++ in the area. Corning Incorporated's Solid Mechanics Modeling Engineer posting in nearby Corning, NY asks for programming and scripting skills in Python, MATLAB, or C++. Its Staff Engineer, Automated Systems and Software posting, also in Corning, requires proficiency with C#, C/C++, Vue and Python. Both were checked 2026-11-29, and we could not confirm either is still open. On the education side, SUNY Corning Community College's Computer Science program requires CSCS 1320 C/C++ Programming, and its career-training page lists a C++ course with AI-assisted coding and a Back-End Foundations: C++ and Python course. Postings show hiring demand, and course listings show training supply. Neither shows how widely C++ is used.
Frameworks and skills worth investigating. The standard path runs from fundamentals through object-oriented design to templates and the STL, then modern C++ with smart pointers and lambdas. For engineering-oriented work, CMake builds, GoogleTest or Catch2 testing and sanitizers are worth investigating, and Qt where desktop tools matter. The C++ Core Guidelines and cppreference are the working references, and the ISO C++ Foundation tracks the standard.
Emerging areas worth watching. C++20 concepts, ranges, coroutines and modules, along with C++23 library additions, are worth watching. So is industry and government attention to memory safety, including guidelines, hardening and sanitizers. Teams maintaining older code may find that modernizing pre-C++11 code is a practical first project.
Improving your prospects. Both Corning postings list C++ beside other languages, so pairing it with Python for scripting and analysis is a sensible step. Where a posting also names C#, C# is worth adding. Engineers who already know C can move to C++ quickly. Domain knowledge in simulation, automation or manufacturing processes may matter as much as the language. See the C++ learning guide, or request a training proposal for a team.
HSG courses for these skills. Introduction to C++ for Absolute Beginners covers first programs, I/O, variables and data types. C++ Programming for C Programmers covers classes, inheritance and polymorphism. C++ Standard Template Library covers template functions, template classes and specialization. Modern C++ Programming using C++11/C++14 covers move semantics, range-based for-loops, initializer lists and variadic templates. For experienced developers, Advanced C++ for Experts covers templates, function objects and design patterns. Training is also available for nearby Horseheads and Elmira.
About this data: sources, periods and limitations
- U.S. Census Bureau: American Community Survey 5-year estimates (ACS 2020-2024 5-year)
- U.S. Bureau of Labor Statistics: Occupational Employment and Wage Statistics (May 2025)
- U.S. Bureau of Labor Statistics: Quarterly Census of Employment and Wages (2024 annual average)
- National Center for Education Statistics: IPEDS completions (2023-24 academic year)
- U.S. Bureau of Economic Analysis (via FRED, Federal Reserve Bank of St. Louis): Regional economic accounts
- U.S. Department of the Treasury (USAspending.gov): Federal awards by place of performance
- corningjobs.corning.com: Corning Incorporated - Solid Mechanics Modeling Engineer (Corning, NY) (checked 2026-11-29)
- corningjobs.corning.com: Corning Incorporated - Staff Engineer, Automated Systems and Software (Corning, NY) (checked 2026-11-29)
- corning.cleancatalog.net: SUNY Corning Community College - CSCS 1320 C/C++ Programming (checked 2026-11-29)
- careertraining.corning-cc.edu: SUNY Corning Community College Career Training - C++ and Python courses (checked 2026-11-29)
- Values are by the area each publisher reports (metropolitan area, county or state), retrieved from the publishers and checked by HSG.
- Leading indicators, such as graduates and federal funding, are signals of possible future activity. They do not guarantee employment.
- Bachelor's degree holders whose degree is in computers, mathematics or statistics: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field). Computers, mathematics and statistics.
- Bachelor's degree holders whose degree is in engineering: American Community Survey 5-year estimate (survey-based; margin of error at 90% confidence). Fields of bachelor's degrees reported by people aged 25 and over (one person can report more than one field). Engineering.
- All occupations, computer and mathematical occupations: Survey-based estimate for the May reference period (3-year sample). Annual median wage is capped at the published top code. Covers wage and salary workers; excludes the self-employed.
- Computer and mathematical occupations, software developers, industrial engineers and others: Survey-based estimate for the May reference period (3-year sample). Covers wage and salary workers; excludes the self-employed.
- All industries: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 10 (NAICS).
- Manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 31-33 (NAICS).
- Manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 31-33 (NAICS). Location quotient relative to the U.S.
- Computer and electronic product manufacturing: Employment covered by unemployment insurance, by place of work; excludes the self-employed. Industry 334 (NAICS).
Training locations
C++ Programming for Non-C Programmers training across the U.S. and beyond.
We provide private C++ Programming for Non-C Programmers training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all C++ Programming for Non-C Programmers 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.