Instructor-led training
C++ Programming for C Programmers Training in Horseheads, New York
This course is a comprehensive hands-on introduction to object oriented programming in C++ for 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
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
ANSI C++ Library
ANSI C++ Library
Hello ANSI C++
Namespaces
ANSI C++ String Class
Templates
Templates
General Purpose Functions
Macros
Function Templates
Template Parameters
Template Parameter Conversion
Generic Programming
General Purpose Classes
Class Templates
Array Class Implementation (array.h)
Using the Array Template
Template Parameters
Class Template Instantiation
Non Type Parameter Conversion
Standard Template Library
STL Components
STL Elements of a Simple Program
Simple STL Program
Map Container
Input/Output in C++
Input/Output in C++
Built-in Stream Objects
Output Operator <<
Input Operator >>
Character Input
String Input
Formatted I/O
Streams Hierarchy (Simplified)
File I/O
File Opening
Integer File Copy
Character File Copy
Overloading Stream Operators
Implementing Overloaded Stream Operators
Practical Aspects of C++ Programming
Interfacing C++ to Other Languages
Calling C from C++
_cplusplus Macro
Calling C++ from C
Interface Module for Stack Class
Namespace Collisions
ANSI Namespace
Reliability Philosophies of Languages
Prototypes and Type Checking
Constant Types
Access Control in C++
Reviews and Inspections
Inspections and C++
Testing Strategies for C++
Performance Considerations
Class Libraries
Exception Handling
Exception Handling
try and catch
Exception Flow of Control
Context and Stack Unwinding
Handling Exception in Best Context
Benefits of Exception Handling
Unhandled Exceptions
Clean Up
Multiple Catch Handlers
Runtime Type Information
Runtime Type and Polymorphism
type_info Class
typeid Operator
Compiler Options
Safe Pointer Conversions
Dynamic Cast
New C++ Style Casts
Static Cast
Reinterpret Cast
Const Cast
What makes this material hard to master
A C programmer already knows pointers, structs and manual memory. The difficulty here is that C++ attaches behavior to those same ideas, so familiar code can start doing things you did not write. The syllabus builds in a deliberate order.
- Classes first. It starts with encapsulation in C, then the C++ class, the
thispointer, scope resolution and abstract data types. Function topics follow: strong type checking, inline functions, default arguments, and overloading with argument matching by promotion and by conversion. - Object lifetime. Constructors, destructors,
newversusmalloc,deleteand free store allocation come next. The course develops a String class through several versions and examines the bugs in each. Those bugs lead to the copy constructor, the default copy constructor, the assignment bug and overloading=. Many developers assume the compiler-generated copy is safe for a class that owns memory, and this sequence shows why it is not. - Const and references. Call-by-reference,
constobjects andconstmember functions, returning a temporary versus returning a reference, and conversion by construction or by cast operator. - Inheritance and dispatch. Protected members, member initializer lists, order of initialization, inheritance versus composition, dynamic binding, the vtable, virtual destructors, pure virtual functions and heterogeneous collections. Forgetting a virtual destructor is a classic error here.
- Second module. Namespaces, the ANSI C++ string class, function and class templates, an introduction to the STL (including the map container), I/O streams, exception handling with stack unwinding, RTTI,
dynamic_castand the C++ style casts.
Who it suits and what to take around it
The course suits developers with a good working knowledge of C who need to read, maintain or extend C++ code, or move a C codebase toward classes and reuse. Training managers can treat it as a five-day, general-level course for C teams. Developers without C experience will usually be better served by C++ Programming for Non-C Programmers, which starts from a different baseline.
After this course, Advanced C++ Programming is the natural step for deeper design work. The syllabus here only introduces the STL, so a team that wants to build on templates and containers can continue with Modern C++ Programming using C++11/C++14. Organizations whose compilers or standards differ from what is covered here can ask for a private course tailored to the versions they use.
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.
- Wrapping a C library. A team might have a working C stack or data module and want C++ callers to use it safely. The syllabus topics on calling C from C++, the
_cplusplusmacro, calling C++ from C, an interface module for a Stack class and namespace collisions map directly to that job. - A class hierarchy for varied records. A team modeling different kinds of employees or devices might keep them in one collection and process each through a common interface. That relies on inheritance, abstract classes with pure virtual functions, virtual destructors and heterogeneous collections. Choosing between inheritance and composition is part of the same decision.
- File processing with error handling. A team reading and writing records might overload the stream operators for its own types and use file I/O. It could then add
try/catchhandling, so that clean-up still happens when an error unwinds the stack.
AI coding assistants and these topics
AI coding assistants can explain unfamiliar class code, draft test programs for a class, and suggest what a compiler diagnostic means. They are useful for the first draft of an overloaded operator or a template. They are also unreliable in the areas this course concentrates on.
- Ownership. Generated classes that hold
new-allocated memory often omit a correct copy constructor, assignment operator or destructor. That is the same bug the String class exercise exposes. - Inheritance. Assistants may leave out a virtual destructor on a base class or slice objects when passing them by value.
- Casts and exceptions. Code may use
reinterpret_castorconst_castwherestatic_castordynamic_castis the safe choice. Catch handlers may be ordered wrongly, or clean-up may be missing on the exception path.
To verify, write a test program that copies, assigns and destroys each object, and run it under a memory checker. Compile with warnings enabled and review every cast and every delete by hand. Knowing the syllabus material is what lets you tell correct generated code from code that only compiles.
Frequently asked questions
What level is this course and what do I need beforehand?
It is a general-level, five-day course. You need a good working knowledge of C programming. No prior C++ or object-oriented experience is assumed, since the course begins with object-oriented concepts.
What does the course cover?
Module one covers classes, constructors and destructors, memory management, references, operator overloading, scope and access control, inheritance and virtual functions. Module two covers the ANSI C++ library and namespaces, templates and an introduction to the STL, I/O streams, interfacing with C, exceptions, RTTI and the C++ style casts.
Can the course be delivered privately for our team?
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 customized, including tailoring to the compiler and language versions your team uses. You can describe your needs through the training proposal request.HSG Technology & Workforce Intelligence
Most relevant to C++ Programming for 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)
- Computer and mathematical occupations, employment: 480 (May 2025; U.S. Bureau of Labor Statistics)
- Computer and mathematical occupations, concentration relative to the U.S. (location quotient): 0.42 (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 C Programmers training across the U.S. and beyond.
We provide private C++ Programming for C Programmers training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all C++ Programming for 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.