This is what a shitty programmer I am: it takes me this much redundant code just to check and see if there are any null spots in an array
( Read more... )
Re: Helpful hintgemini6iceMarch 18 2005, 05:18:16 UTC
You're not allowed to google for help on assignments? That's sucky. I have to do that all the time. Heh.
Maybe your teacher doesn't grade the assignments? Many CS classes have hired graders. I get to look at 150 web pages for CS101 in April. And I get paid 600 bucks to do it. Woohoo!
Comments 6
Curly braces make me die
Reply
NULL counts as a false boolean, so if student[0] is null:
if(! student[0])
full= FALSE
In fact, I'm not 100% about this upcoming idea, but maybe even:
false = (student[0]) && (student[1])...
Reply
Teacher might catch me on that one, though, since we're technically not allowed any outside help and haven't learned that.
But shit, that makes things so much easier.
Reply
Maybe your teacher doesn't grade the assignments? Many CS classes have hired graders. I get to look at 150 web pages for CS101 in April. And I get paid 600 bucks to do it. Woohoo!
Reply
Reply
-Connor
Reply
Leave a comment