Learn about structs and how to use them in your programs.
You will learn the similarities and differences between structs and classes and how to choose which one to use based on your circumstances. Subscribe today!
Follow us on twitter:
Nguồn:https://wijstaanvooronzegrondrechten.org/
Xem Thêm Bài Viết Khác:https://wijstaanvooronzegrondrechten.org/cong-nghe
i never really understood the difference. Thanks to you and the 'stack and heap' illustration i finally get it 😀 ! THANK YOU
Thanks, makes you understand stack and heap 🙂
how do i know many bits big my struct is?
Dude you always do amazing lessons. Thank you
Nice – good work
I think you mean 16 bytes not bits. Two ints would already be 64 bits of memory 😀
oh my finally basics for me 🙂 thank your very much for the clear explanatory!!
very nice explaining!
Great Video! I have a greater understanding of structs now.
However I think you mixed up stack and heap. Heap contains the references to the actual memory locations while the stack contains the actual values under the specified memory location.
So actually the references in the heap point to the values that are stored on the stack.
Though I might be wrong though and it's just minutia anyway.
Thanks !
Was helpful, thanks.