logomancer (
logomancer) wrote2004-01-29 10:33 am
(no subject)
- VT email got ransacked by the virus. It's been down for most of the week. I've just started to get non-virus emails again. Still not able to send anything till the queue clears. Stupid virus.
- As the deadline for my first CS project draws near, I've hit a snag. The constructor I've made for the class won't compile -- some sort of pointer conversion error in the assignment operator for my linked list template. I had no clue why. Neither did Capra. Nor did the TAs. Can I panic now?
- Had first chem lab yesterday. TA spoke a bit more English than the one I had last year, though his accent still makes him nigh-incomprehensible. Our first assignment: In addition to the prelab questions, copy all of the safety rules by hand and hand them in next week. Oy. On top of that, the one person I knew who thought she was in that lab section turned out to be in a different one, so now I'm back to begging perfect strangers to be their lab partners. *sigh*
- Edit: That sysadmin job was already taken by the time I called. Apparently, the hiring person forgot to take his name off the database. Grr.
On that note, I head to DiffEq.
no subject
If you post the constructor & assignment operator code and compiler message I can try and make useful observations. Do you have a valid copy constructor? Sometimes that can cause similar errors.
Re:
But, let's have fun brainstorming what could cause this error! :-D
If it's not compiling due to a conversion error, I think it might be something like:
int x;
int *y;
And somewhere in the assignment operator, he missed a & or *, and he's doing y = x, instead of y = &x. Throwing a pointer into something declared as a non-pointer, without casting.
Re:
Re:
[sarcasm]
D'oh, I forgot that in school they prepare you for the "real world" in which no one shares information, offers help or publishes solutions so the wheel does not need to be reinvented. My bad. :P
[/sarcasm]
The difference between completely copying someone else's project vs. asking for help on an already written project that has a weird bug the teacher couldn't even figure out is a simple distinction for me but apparently not for Tech. That always angered me about the way they did things. I can honestly say that it has taught me to be more of a lone programmer than a team programmer.
Re:
And you're right about the lone-programming thing. A couple of my ECE classes, fortunately, were team programming projects.
Re:
no subject
Re: