C++ Tutorial for Beginners Ep#20 - References and Passing by Reference - SavvyNik on Linux
C++ Tutorial for Beginners Ep#20 where we learn about References and Passing by Reference in C++. This will be an introduction to C++ References for Beginners. References allow you to change up and already existing name of a variable while keeping the original variable intact. Passing by reference can help you edit variables outside the scope of a called function. This C++ Tutorial is for Beginners and intended for learning the concepts of C++. Use Visual Studio Code or any text editor to follow along. Make sure to subscribe so you can follow the series.
Learn the different about using & as a Reference operator and the difference between References and Memory Access operators. Passing by Reference is a way to pass a variable into a function scope of a called function so that you can make edits to a variable, structure, or object. This is a great way to be able to edit multiple variables inside a function. Which seemed impossible before learning about pass by reference.
My Linux Cheat Sheet and 25 Page Checklist here:
📚 https://learn.savvynik.com
Share this free tool and support Small YouTubers
https://editbulk.com
(I made this tool to help creators)
Want more info/content?
https://savvynik.com
Useful Commands/Links:
Windows 10 Compiler Tools Setup - https://youtu.be/hCLIDph7-mU
Visual Studio Code - https://code.visualstudio.com/
Online Compilers:
https://www.onlinegdb.com/online_c++_compiler
http://cpp.sh/
https://repl.it/languages/cpp
Great List of Online C++ compilers:
https://arnemertz.github.io/online-compilers/#tldr
Windows Compiler Tools - GCC (GNU Compiler Collection) MinGW64
Linux Compiler Tools - Build-Essentials (GCC)
Name of extensions installed:
1. Code Runner
2. C/C++ Intellisense
#Linux #Programming #Tutorial