C++ Introduction to classes [1]

preview_player
Показать описание
Learn to write and instantiate classes. You'll learn about class declarations, instantiation, data hiding, pointers to classes, the difference between structs and classes, accessors, mutators, const, the scope resolution operator, stale date, public interface, and how to use dynamic memory allocation with classes.

This C++ tutorial for beginners demonstrates the concepts using a program written with Visual Studio 2022 C++ .

// Learn more:

// Consider supporting this channel in multiple ways
Bitcoin: 177wfkQwzXiC8o2whQMVpSyuWUs95krKYB
Рекомендации по теме
Комментарии
Автор

When you were at the moment of a fuinction definition approximately starting at 3:30 you commented and called your definition as a declaration, some people might get confused as I am, so for people outhere:

Declaration is when you basically call a function with or without its arguments and a definition of a function is where the actual calculation going on, basically it describes the function within its body

singler
Автор

Thank you so much for making this video! Classes were super confusing to me until you explained it!

mosquito
Автор

Like his soft voice teaching stile, helps me remember stuff and follow easy.

ALS
Автор

I've commented on a previous video but I just wanted to reiterate it here. Thank you for making these videos! The way you explain things is easier for me to understand

treyandrews
Автор

Classes have always given me trouble. I've always veered towards structs as a result. This series has cleared up any confusion I've had regarding classes and now I feel comfortable using them now

lorddoinkus
Автор

At 5:49 you say that instantiation creates an object in memory. This is something that I find confusing.
What exactly is being created, and how much memory is being allocated? Does the program allocate memory for all of the variables of that class (public or private) when an object is instantiated?

qcnck
Автор

let's set out with oop . thanks prof Hank

bashiraddean-mufarreh
Автор

Nice beard bro. I have a question for you. Did you think Tim Lincecum is a hall of famer?

joey
Автор

The question I have is simple, I'm sure.
Q.) When would I use a class, and when should I just use functions in my main ??

Impulse_Photography
Автор

Hello! Thanks for great lectures. I want to follow step by step. Do you have a list for these C++ lectures in order? I cannot find in playlists section.

jamesmasonic
Автор

Hi prof. I am making projects based on what I learned from your channel and I want you to see them. To you see what I learned from you. How do I send it to you! If you like to see it of course.

bashiraddean-mufarreh