C Programming Tutorial # 30 - Structures Pointers [HD]

preview_player
Показать описание
In this tutorial we learn how to declare pointers to structures and how to access their members using pointers.

This tutorial is part of the following series:
Рекомендации по теме
Комментарии
Автор

oh my god one of the best videos in pointers and structurs!!! i've passed the C course but had alot of problems understanding this part!!! thanx!

tagh
Автор

@itsdannyftw You are correct about the '.' and '->' operators, and are valid in C and C++ both. However '::' is used to qualify various identifiers, such as class names and member variables etc. and used only in C++. Note '::' operator is only used by the compiler during the compile time and does not result in generation of any code as such, unlike '.' and '->' actually result in generation of code and the actual reference address is computed at run-time.

Learnorama
Автор

your videos are really helpful for me to learn the c programming. i check your website, it looks like the price is 19 dollars something to watch the full videos. if you sell 9.99, i believe much more people will be happy to pay that. even though, the price is still quite reasonable comparing your work and time. thanks.

weixizeng
Автор

Amazing video, cleared up all the questions I had, thank you very much, you are my saviour!

suleymanorazgulyyev
Автор

friendly and solid explanation, thank you professor

badis
Автор

You cant actually initialize structs in the definition, since the compiler doesnt allocate any memory until you declare a struct.

bondservantHim
Автор

Thanks a lot. Can you explain why you didn't initialize the structure like this:

typedef struct{
variablesHere
}myStruct;

fb
Автор

well i m not very gud in c DS BUT u help me thanx sir

prabhatjon
Автор

I'm using the same compiler, and i copied the same thing! but the compiler didn't auto complete it for me, u know like at 9:40! any ideas?

laweenhamza
Автор

@msg00pak I am glad I could help. Thanks.

Learnorama
visit shbcf.ru