Passing C++ Structs to Functions by Reference, Pointer, and Value!

preview_player
Показать описание
Reference, pointer, value? What's the best way to get your structures to your functions? In this video, I discuss the _how_ of implementing simple pass-by-reference, pointer, and value functions with a structure.

C002 - Passing C++ Structs to Functions, 3 ways.

Рекомендации по теме
Комментарии
Автор

Nice explanation, however the 'cherry on the top' would have been to show the original value had been changed at the end.

Jakob
visit shbcf.ru