Project 1999

Go Back   Project 1999 > General Community > Off Topic

Closed Thread
 
Thread Tools Display Modes
  #11  
Old 04-22-2011, 02:23 PM
President President is offline
Fire Giant


Join Date: Oct 2009
Posts: 872
Default

I'm confused, it's near the end of the semester and this is the problem you are getting? If it is, complain to your school for having a shit program. If it's not, and you are just starting a class, do yourself a favor and figure it out yourself. It's going to be a long class if you can't write that shit down on paper perfectly in less than an hour.
  #12  
Old 04-22-2011, 02:52 PM
Rogean Rogean is offline
¯\_(ツ)_/¯

Rogean's Avatar

Join Date: Oct 2009
Location: Massachusetts
Posts: 5,393
Default

Quote:
Originally Posted by Ihealyou [You must be logged in to view images. Log in or Register.]
amount &= 25
amount &= 10
You mean %= ?

&= is bitwise assignment.
__________________
Sean "Rogean" Norton
Project 1999 Co-Manager

Project 1999 Setup Guide
  #13  
Old 04-22-2011, 02:54 PM
Rogean Rogean is offline
¯\_(ツ)_/¯

Rogean's Avatar

Join Date: Oct 2009
Location: Massachusetts
Posts: 5,393
Default

Also looking at the way the teacher has given examples of how to do this, I bet you if you try to complicate this up in more efficient ways, hes going to fail you "Not demonstrating what you've learned" which is basically another way of saying you're smarter than him.
__________________
Sean "Rogean" Norton
Project 1999 Co-Manager

Project 1999 Setup Guide
  #14  
Old 04-22-2011, 03:21 PM
naez naez is offline
Banned


Join Date: Mar 2011
Location: s0cal
Posts: 629
Send a message via ICQ to naez Send a message via AIM to naez Send a message via MSN to naez Send a message via Yahoo to naez
Default

Quote:
Originally Posted by Rogean [You must be logged in to view images. Log in or Register.]
Also looking at the way the teacher has given examples of how to do this, I bet you if you try to complicate this up in more efficient ways, hes going to fail you "Not demonstrating what you've learned" which is basically another way of saying you're smarter than him.
tru.dat, when I took python1 I would do fancy pythony things and the professor would always rage and mark me down for really silly things. I ended up with a C in the class and the hardest program we did was like temperature conversions
  #15  
Old 04-22-2011, 03:35 PM
bman8810 bman8810 is offline
Kobold


Join Date: Nov 2010
Posts: 149
Default

Quote:
Originally Posted by naez [You must be logged in to view images. Log in or Register.]
tru.dat, when I took python1 I would do fancy pythony things and the professor would always rage and mark me down for really silly things. I ended up with a C in the class and the hardest program we did was like temperature conversions
Part of getting a good grade in the class is understanding what the professor wants. Should I have to dumb down my homework assignments in order to acquiesce with what the professor wants? No. Do I? Yes, if I want a good grade.

If you aren't sure whether the professor will accept your more advanced version, you need to discuss it with him. Otherwise, man up and don't complain. Most professors are pretty understanding. However, don't expect much leniency if the entire class does something one way and you do it another way and lose credit. That shit is a pain in the ass to grade.
  #16  
Old 04-22-2011, 03:38 PM
naez naez is offline
Banned


Join Date: Mar 2011
Location: s0cal
Posts: 629
Send a message via ICQ to naez Send a message via AIM to naez Send a message via MSN to naez Send a message via Yahoo to naez
Default

O I wasn't complaining, by the end I was doing random ass spaghetti (which is really hard to do in python) just to piss him off. I won the passive-aggressive rage war we had.
  #17  
Old 04-22-2011, 03:42 PM
Zereh Zereh is offline
Fire Giant

Zereh's Avatar

Join Date: May 2010
Location: Erudin
Posts: 713
Default

Being creative isn't really encouraged in college. They are not there to teach you to think, they are there to hone your memory recall and information retention / regurgitation skills. So whatever a teaching assistant (or if you're lucky, a professor) crams down your throat is what they want handed back to them.
__________________
❤ Z A R A H ❤
  #18  
Old 04-22-2011, 03:53 PM
Ihealyou Ihealyou is offline
Sarnak

Ihealyou's Avatar

Join Date: Apr 2010
Location: Cleveland, OH
Posts: 454
Send a message via AIM to Ihealyou
Default

Quote:
Originally Posted by Rogean [You must be logged in to view images. Log in or Register.]
You mean %= ?

&= is bitwise assignment.
Lol, I didn't even realize I wrote &= until you said that. In my defense, it was on my phone and % and & are both tall and squiggly, so they're basically the same thing anyways.
__________________


Uuur - Your favorite Master +1 cleric <LifeAlert>
Rockwell - Your favorite 30 virgin <Aspen and Rockwell>
  #19  
Old 04-22-2011, 06:29 PM
Jburks8 Jburks8 is offline
Kobold


Join Date: Sep 2010
Posts: 116
Default

Thanks everyone for your feedback!

It's an intro to computer science class (I took it in place of a science class). My teacher definitely would probably become suspicious if I used more advanced /efficient ways to solve the problem, so that is definitely not an option, but I think I can get by doing what he considers "correct".

I like what you did Ihealyou, and that makes more sense to me, so I might run with that.

Again, thanks for everyone's feedback/advice. Sorry to post homework questions on a P1999 site [You must be logged in to view images. Log in or Register.]
  #20  
Old 04-25-2011, 01:01 PM
Rogean Rogean is offline
¯\_(ツ)_/¯

Rogean's Avatar

Join Date: Oct 2009
Location: Massachusetts
Posts: 5,393
Default

Quote:
Originally Posted by Ihealyou [You must be logged in to view images. Log in or Register.]
Lol, I didn't even realize I wrote &= until you said that. In my defense, it was on my phone and % and & are both tall and squiggly, so they're basically the same thing anyways.
Under normal circumstances I'd agree.. but it's typos just like that that make you spend a fucking hour trying to figure out why your program isn't working correctly, debugging the shit out of it... and then it hits you in the face like a brick and you proceed to facepalm for 5 minutes.

Too many times that happens to me. Infact I spent over an hour just last night trying to figure out why some code was acting wonky and its because I did a delete on a char pointer instead of delete[], in a completely different function.
__________________
Sean "Rogean" Norton
Project 1999 Co-Manager

Project 1999 Setup Guide
Closed Thread


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 03:04 PM.


Everquest is a registered trademark of Daybreak Game Company LLC.
Project 1999 is not associated or affiliated in any way with Daybreak Game Company LLC.
Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.