Pyrofan1: Thanks! That's exactly the kind of thing I was looking for, and it looks like it's easy to understand.
ninja 9578: Yeah, I've noticed C++ is tough to learn. I've considered learning Python instead, but I've already finished a class at my high school teaching C++, as well as spending hours learning more on my own, so at this point it's probably more convenient for me to just continue with C++ rather than switch to another language, even one as similar to C++ as C.