I’m taking Computer Science 221 this semester, in which I’m required to code in C++, a language I’ve had no experience with before. Unfortunately, the first lab deals with recursion, at which I’m hopeless. I understand recursion when I’m looking at solutions to problems, but it takes me forever to actually write a recursive function on my own. While I began working on the lab, I just drew out the general flow of the problem, since I’m so terrible at recursion. Just now, I hacked together a bit of corresponding code to test out my ideas.
Being an extremely crafty Computer Science student, I didn’t buy the required C++ textbook, so I had to look up a few C++ tutorials online to figure out how to make my program compile. I’m so edgy that I didn’t even bother writing a “Hello World!” program. Anyways, after working out my compile-time errors, I ran my program.
And it worked.
Flawlessly.
I checked it over and over, but it just works. I was seriously expecting to put much more time into this, since I’ve had little experience with C++ and recursion, but it looks like I’m nearly done. I have an edge case to deal with, but I’ll work on it later.
0 Responses to “I amaze myself”