Skip to content

Defining Your Own Types in C++

Photo of Lou "Luigi" Langholtz
Hosted By
Lou "Luigi" L.
Defining Your Own Types in C++

Details

This will be a talk on defining your own types in C++ through the "class" and "struct" keywords. I'll start with basic concepts like variable aggregation, access specifiers, and "member" functions. As time & participant interest allows, I'll move on to seemingly more advanced aspects - like invariants, derived types, or Rust-like "traits" in C++.

Some members have mentioned an interest in learning new features of C++ while others have mentioned an interest in learning C++ as a new language for them. At a past event, I had spoken about C++23's std::print and the prototypical "Hello World" first program. That's basically an example of imperative programming familiar to languages like Basic and C. For this talk, we'll be getting into object oriented programming.

This is an online meeting and I'll be using Microsoft Teams free service for it. This should help integrate the use of Microsoft Visual Studio Community 2022 into the meeting but will limit the meeting to a hard one-hour cut-off. If all goes well, I'll start the meeting at 6pm Mountain Time exactly and it will end at 7pm.

If you have any troubles getting on, please use something like the meetup group's event interface to let us know.

Photo of New Mexico C++ Programmers group
New Mexico C++ Programmers
See more events