As some may notice, my blog is called "using namespace kyle;" which
is a language construct of C++. Well, up until now, I didn't actually
know very much about C++ and recently I've wanted to correct this
gap in knoweldge.
I've started learning up on C++ and have found a lot of cool things
about it. I find most interesting and fun is how C++ handles memory.
From what I've determined, C++ is a front-end to memory managment.
When you define a variable, it allocates some memory addresses for
that variable and the size is determined by the type of variable.
I find that pretty cool and amazing. Keep in mind, I come from
scripting languages.
Currently, I've been trying to think of ways to break the memory by
tricking C++ into doing things (I wouldn't really consider it tricking
but I'm not sure of a better use of words). One example I've found
is inistalizing a variable then taking the address and pointing it
to a pointer of a different underlying type. Having the address of a
char be pointed to an int type.
You can check out all of my progress on learning C++ through my
github page.