Skip to content

Instantly share code, notes, and snippets.

Adam Goren adamgoren

Block or report user

Report or block adamgoren

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@adamgoren
adamgoren / index.md
Created Dec 5, 2019 — forked from ericandrewlewis/index.md
C++ Pointer Tutorial
View index.md

C++ Pointer Tutorial

Because pointers can be ugh

"Regular" variables (not pointers)

To understand a pointer, let's review "regular" variables first. If you're familiar with a programming language without pointers like JavaScript, this is what you think when you hear "variable".

When declaring a variable by identifier (or name), the variable is synonymous with its value.

You can’t perform that action at this time.