Instructor-led training
C++/CLI Essentials Training in Horseheads, New York
This two-day course is designed for the experienced C++ programmer to help you quickly come up to speed on the C++/CLI language.
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
.NET: What You Need to Know
Getting Started
.NET: What Is Really Happening
.NET Programming in a Nutshell
Viewing the Assembly
Viewing Intermediate Language
Understanding .NET
Visual Studio 2005
Visual C++ 2005 Express Edition
Creating a Console Application
Solution Explorer
Adding a C++ File
Using the Visual Studio Text Editor
IntelliSense
Build and Run the Project
Pausing the Output
Visual C++ 2005 and GUI Programs
.NET Documentation
C++/CLI Fundamentals
Hello, World
Compiling, Running (Command Line)
Program Structure
Namespaces
Variables
Input in C++/CLI
Classes in C++/CLI
InputWrapper Class
Input Wrapper Implementation
Control Structures
C++/CLI Operators
Types in C++/CLI
Simple Types
Types in System Namespace
Implicit Conversions
Explicit Conversions
Cast Notation
value struct
Uninitialized Variables
Enumeration Types
Reference Types
Class Types
Object
String
Copying Strings
StringBuilder Class
Classes and Value Classes
RHotel Ref Class
Copy Constructors in C++/CLI
VHotel Value Class
RaisePrice Methods
Value Class versus Ref Class
Arrays
One-Dimensional Arrays
System.Array
Jagged Arrays
Rectangular Arrays
for each for Arrays
Boxing and Unboxing
Output in C++/CLI
Formatting
Exceptions
System::Exception
Object-Oriented Programming in C++/CLI
Classic C++ Object Model
Object Lifetime in Classic Model
Object Lifetime in .NET Model
Object Lifetime in C++/CLI
Stack Allocation
C++/CLI Object-Oriented Features
Encapsulation and Properties
Using a Property
Indexed Properties
Using an Indexed Property
Trivial Properties
Account Class
Namespace
Constructors
Static Members
Inheritance in C++/CLI
New Version of Base Class
Features of the New Base Class
Derived Class
Overriding a Virtual Function
Fragile Base Class Problem
Abstract Ref Classes
Derived Classes
C++/CLI and the .NET Framework
Components and OO in C++/CLI
Interfaces in C++/CLI
Interface Inheritance
Programming with Interfaces
Implementing Interfaces
Using an Interface
Dynamic Interfaces
Account Interfaces
BasicAccount Class
Account Class
Interfaces in C++/CLI and COM
Resolving Ambiguity
Explicit Interface Implementation
System::Object
Collections
ArrayList
ArrayList Methods
Adding and Removing String
IEnumerable and IEnumerator
Using Enumerators
Collections of User-Defined Objects
Account Class
AccountList Class
Copy Semantics in C++/CLI
Deep Copy and Icloneable
Writing Generic Code
Using a Class of Object
Generic Types
Generic Syntax in C++/CLI
Generic Client Code
System::Collections::Generic
Delegates and Events
Overview of Delegates and Events
Callbacks and Delegates
Usage of Delegates
Declaring a Delegate
Defining a Method
Creating a Delegate Object
Calling a Delegate
Random Number Generation
A Random Array
Combining Delegate Objects
Account.h
DelegateAccount.cpp
Events
Events in C++/CLI and .NET
Client Side Event Code
Introduction to Windows Forms
Creating a Windows Forms App
Windows Forms Event Handling
Add Events for a Control
Events Documentation
Closing a Form
ListBox Control
What makes C++/CLI hard to master
For an experienced C++ developer the syntax is familiar. The hard part is that C++/CLI runs on two object models at once, and habits from classic C++ do not always carry over. The syllabus is ordered to address this.
- Runtime first. The course starts with what .NET is doing: assemblies, intermediate language, and how to view both. This explains behavior that later topics build on.
- Two kinds of types. Simple types, value struct, enumerations and reference types are covered, followed by a side-by-side comparison of a value class and a ref class (the RHotel and VHotel examples). Choosing between them, and understanding the copy-constructor and copy-semantics consequences, is a common source of subtle bugs. Boxing and unboxing add a further trap.
- Object lifetime. The course contrasts lifetime in the classic C++ model, the .NET model and C++/CLI, including stack allocation. Developers who assume deterministic destruction everywhere, or assume the opposite, will be surprised.
- Language features that differ from C++. Properties, indexed properties, interfaces (including how they relate to COM and how to resolve ambiguity with explicit implementation), and the fragile base class problem each need their own mental model.
- Generics versus object collections. The course first uses
ArrayListand a class ofObject, then shows generic types andSystem::Collections::Generic. This makes the type-safety trade-off concrete. Generics are not C++ templates, and treating them as such is a frequent misconception. - Delegates and events. Delegate declaration, combining delegate objects and event handling lead into a short Windows Forms introduction with a ListBox control.
Who it suits and what to take around it
The stated prerequisite is an experienced application developer or architect with good working knowledge of C++ and object-oriented programming. The course is introductory to C++/CLI, not to C++, and it moves quickly over two days. It suits teams that maintain or extend existing C++/CLI code, or that need C++ developers working with .NET types, collections, delegates and events.
If your C++ is rusty or mostly C-style, C++ Programming is a more suitable foundation, since this course assumes you already work comfortably with classes, inheritance and virtual functions. For a broader treatment of the same language across more days, .NET Framework Using C++/CLI is the natural follow-on. Browse the C++ Programming courses and learning guide for related options.
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.
- Domain model with interfaces. A team might model accounts with a base class, a derived class and several interfaces. It would use explicit interface implementation to resolve ambiguity and
ICloneablefor deep copies. The syllabus's Account, BasicAccount and interface topics map directly to this. - Replacing untyped collections. For example, a developer maintaining code that stores user-defined objects in an
ArrayListcould move it to generic collections to remove casts and gain type checking. This draws on the collections, enumerator and generics sections. - Callback-driven desktop tool. A small utility might use delegates for callbacks and events for notifications, with a Windows Forms ListBox displaying results. This combines the delegate, event and Windows Forms topics.
AI coding assistants and C++/CLI
AI coding assistants can explain unfamiliar C++/CLI code, draft boilerplate such as property and interface declarations, and suggest unit tests. C++/CLI is a niche dialect, so their weaknesses show up in predictable places.
- Wrong dialect. Suggestions often drift into C# syntax or standard C++ idioms that do not fit managed ref classes, value classes or .NET collections.
- Value versus reference semantics. Generated code may mishandle copying, boxing or object lifetime, and the result can compile yet behave differently than intended.
- Dated or mismatched patterns. An assistant may default to untyped collections where generics fit better, or wire up delegates and events incorrectly.
To verify, compile and run everything, and inspect the generated assembly and intermediate language, which the course teaches you to view. Write tests for copy and equality behavior, and exercise event handlers deliberately. Treat assistant output as a draft to review against what you learn here.
Frequently asked questions
What level is this course?
It is introductory to C++/CLI but written for experienced C++ developers. It runs two days and moves quickly through the language, so it is not a first course in C++.
What should I know before attending?
Good working knowledge of C++ and object-oriented programming, as an experienced application developer or architect. Developers who need a stronger C++ foundation can start with the C++ Programming course.
What does the course cover?
The .NET runtime basics, the Visual Studio workflow, C++/CLI fundamentals and types, ref and value classes, arrays, exceptions, object lifetime, properties, inheritance, interfaces, collections, generics, delegates and events, and an introduction to Windows Forms.
Can it be delivered privately, 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. To discuss emphasis or other versions, request a training proposal.HSG Technology & Workforce Intelligence
Most relevant to C++/CLI Essentials
- 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++/CLI Essentials training across the U.S. and beyond.
We provide private C++/CLI Essentials training for organizations, onsite at your location or live online, throughout the United States and internationally.
View all C++/CLI Essentials 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.