Message from C, C++ talks

June 2019

— The value of the variable

— String a = "!kölaksdjfölaksdjf öasdkjf öklJ"

string b = a;

— String a will be completely copied into string b

— Ströng a;


If you do

string* b = &a; (the pointer b points to string a)

you don'T copy whats IN the string but WHERE to find the content of the string

— Like copying a string with copy paste is very hard

— Yea

— Instead, you just remember where the string is

— So you just copy the ADRESS of the string

— But if you need to modify it ¯\_ (ツ) _/¯

— Can't do Ctrl + f ?

— Its not the same!

— One is code, the other is what hte user does

— It's very hard to understand pointers

— I don't know any programmer url to tutor me