d2jsp
Log InRegister
d2jsp Forums > Off-Topic > Computers & IT > Programming & Development > Need Help W/ C++ Project > C++ Newb, Trying To Learn
Add Reply New Topic New Poll
Member
Posts: 1,129
Joined: May 25 2013
Gold: 0.11
Sep 18 2013 09:51pm
First off, I would like to thank anyone before-hand for any advice you give. I've been trying to figure this out all night and I am getting nowhere :(




Here is my code

http://img801.imageshack.us/img801/1262/kjaz.png
http://img191.imageshack.us/img191/9039/gc80.png



I am not asking anyone to do it for me, however, I can't seem to get anywhere with this. The two areas should be the same. Any advice will be very helpful and I am willing to go out of my way to get fg for tips.
Member
Posts: 1,129
Joined: May 25 2013
Gold: 0.11
Sep 18 2013 09:51pm

Member
Posts: 10,812
Joined: Oct 15 2009
Gold: Locked
Warn: 20%
Sep 18 2013 11:14pm
Line 64 to 74 is pure madness as far as i can tell. You need to be using the distance formula to calculate the length of the sides, IMO. Delete that shit, think about it, and write that part over from scratch. Before line 64 looked fine to me.

Also next time, just post your damn code..... so hard dealing with images...

This post was edited by Azrad on Sep 18 2013 11:16pm
Member
Posts: 10,812
Joined: Oct 15 2009
Gold: Locked
Warn: 20%
Sep 19 2013 12:23am
posted code in the homework section:
http://forums.d2jsp.org/topic.php?t=68835398
Go Back To Programming & Development Topic List
Add Reply New Topic New Poll