Entry tags:
Well, eff you too, C++
This is how my latest computer science assignment has gone.
Nia: *types*
Nia: *compiles*
Compiler: You fail!
Nia: Huh. *moves semicolons around*
Compiler: *all but one of the errors is gone*
Compiler: chutes.cpp:9: error: expected unqualified-id before "using"
Nia: Err, what?
*looks at program*
*cannot figure out what the heck the problem is*
*emails teacher*
Teacher: Err, what? There doesn't seem to be anything wrong with it. Try copying it into a new file. Maybe it's got a HIDDEN CHARACTER.
Nia: ...ok... *copies*
*compiles*
Compiler: chutes.cpp:9: error: expected unqualified-id before "using"
Nia: Grr. Sheesh. Well, maybe this supposed "hidden character" got copied along with the rest...
Nia: *retypes the ENTIRE PROGRAM by hand*
Compiler: ...
Compiler: chutes.cpp:9: error: expected unqualified-id before "using"
Nia: OH MY GOD, CAN'T YOU SAY ANYTHING ELSE!?!
Normally I would just say the heck with it and move on, but I have to use this class in my next asignment, which means it HAS to compile. Somehow. I'm just going to have to figure out how before 11 am on Tuesday. *head/DESK*
Nia: *types*
Nia: *compiles*
Compiler: You fail!
Nia: Huh. *moves semicolons around*
Compiler: *all but one of the errors is gone*
Compiler: chutes.cpp:9: error: expected unqualified-id before "using"
Nia: Err, what?
*looks at program*
*cannot figure out what the heck the problem is*
*emails teacher*
Teacher: Err, what? There doesn't seem to be anything wrong with it. Try copying it into a new file. Maybe it's got a HIDDEN CHARACTER.
Nia: ...ok... *copies*
*compiles*
Compiler: chutes.cpp:9: error: expected unqualified-id before "using"
Nia: Grr. Sheesh. Well, maybe this supposed "hidden character" got copied along with the rest...
Nia: *retypes the ENTIRE PROGRAM by hand*
Compiler: ...
Compiler: chutes.cpp:9: error: expected unqualified-id before "using"
Nia: OH MY GOD, CAN'T YOU SAY ANYTHING ELSE!?!
Normally I would just say the heck with it and move on, but I have to use this class in my next asignment, which means it HAS to compile. Somehow. I'm just going to have to figure out how before 11 am on Tuesday. *head/DESK*

no subject
...is it weird that, um, I only have a clue what the hell "compiling code" even means because of XKCD?
no subject
And it's okay, I didn't know what compiling code was until I took computer science junior year.
no subject
And you, dreamwaffles. I am in a similar boat. I had an IDEA of what compiling code meant before I read XKCD, but it was kind of a vague notion more than actual knowledge... O.o
no subject
no subject
P.S. I just realized that I got to this post way late. Did things work out?
no subject
And yes, it did work out, after much frustration. Turns out that I needed a semicolon at the end of my .h file, but the error, for some reason, showed up in my .cpp file instead. Which would be why I couldn't figure out what the heck was going on, since I was looking in the wrong file.