00000001, 00000010

I am learning beginning programming with C++. So far, this has been a fun experience. I am enjoying writing little bits of code and seeing my program run. So far I am doing small things like building simple calculators, converting weather from F to C, making multiplication tables and calculating factorials. Now, in the factorial program, I came across a bug. There was no mention as to WHY there was a bug, but there was. I looked at it, and it should be fine, everything was where it should be, but still, if I entered certain numbers the answers would start coming back negative or at some point, just as 0. Clearly this was a bug. And the answer to my bug is in binary and how those numbers are stored. This led me from C++ programming to learning to count in binary. FYI, I like binary, it is pretty, it makes sense, and it is fun to color when written on graph paper. Watching the 1's and 0's switch in and out of existence in logical patterns makes me happy. Hopefully I will someday be able to use these building blocks that I am learning now. For now, I am happy just to see a build come through with no warnings and no errors and try to figure out why my programs run the way they do. Check back soon for updates on how my C++ skills are progressing. Also, I am in the process of learning guitar, swing dancing and horse care. Please post with any hints or tips you can offer me in my journey.

Add comment


Security code
Refresh

"And while we’re talking audio, it MUST be reiterated... The audio, as always, kicks ass." -GameRevolution