Oh, the irony that is C++. We didn’t have class last week, and we “have no homework,” except we have stuff to work on (at home!) that we are going to be graded on, but since we won’t actually be turning it in, it’s not homework! Ha! Isn’t that clever? Hence why I’ve been up for an hour already trying to do the reading and mess with the code for class this afternoon.
The readings are part of the online C++ tutorials at cplusplus.com, and they’re completely impenetrable. They say things like,
Here you have an example that overloads the addition operator (+). We are going to create a class to store bidimensional vectors and then we are going to add two of them: a(3,1) and b(1,2). The addition of two bidimensional vectors is an operation as simple as adding the two x coordinates to obtain the resulting x coordinate and adding the two y coordinates to obtain the resulting y. In this case the result will be (3+1,1+2) = (4,3).
I CANNOT UNDERSTAND THIS AT EIGHT IN THE MORNING. :weird:
What the fuck is a bidimensional vector? Who says things like that? In addition, the two readings are entitled “Classes (I)” and “Classes (II)” and since I am an avid Gmail user, I keep glancing at my tab bar and seeing a 1 instead of an I and thinking I’VE GOT MAIL! but then I actually don’t have any mail. It’s continually disappointing to me.
The horrible thing about this fake-non-homework is that it is worth 4 points. Four points in this class works out to be FOUR PERCENT OF MY GRADE IN THE CLASS, so if I don’t do it, I drop half a letter grade. Lovely. :sneer: