Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~1K People Reached
About Me

I may be weird, and uncomfortable to around at times (maybe) but you should try to get know me. I am sure I'll make your life amusing, and not in a bad way. Or you could meet the person next to me... and life would be grand wouldn't it now (-_-) A rrogant…

Favorite Forums
Favorite Tags
Member Avatar for aleX_X

Here is what I need to do: have three editable text fields labelled operand1, operator, and operand2, and a fourth read-only text field labelled result. Have a button labelled Calculate. WHen the button is clicked the appropriate operator is applied to the two operands and the resulting value placed in …

Member Avatar for hanvyj
0
146
Member Avatar for aleX_X

This is the sample code my proffessor posted online [CODE]import java.applet.*; import java.awt.*; public class AnAppletSubclass extends Applet { public void init() { System.err.println("Hello from AnAppletSubClass.init - the current value of n is " + n); color = Color.green; } public void paint(Graphics g) { setBackground(color); System.err.println("Hello from AnAppletSubClass.paint-- the …

Member Avatar for aleX_X
0
136
Member Avatar for aleX_X

It only has one player, and no it isn't that technical on the rules of soccer. If the ball gets out of bounds there is no penalty shot, it just respawns randomly on the field. My problem is in my lookatball funtion I think, but I am not sure. Sorry …

Member Avatar for NathanOliver
0
208
Member Avatar for aleX_X

Keeping getting into errors in my code...this looks to be the wierdest so far... [CODE]class bug: public living{ protected: bool ate; int energy; public: virtual void moveToFood(point hunter, point food); bool eatIt(point hunter, point food){ int hx, hy, fx, fy; hx=hunter.getx(); hy=hunter.gety(); fx=food.getx(); fy=food.gety(); if((hy==fy)&&(hx==fx)) ate=true; else ate=false; return ate; …

Member Avatar for daviddoria
0
415
Member Avatar for aleX_X

Suppose I have a vector that is of class X data type. I was wondering if I could access the classes functions through the iterator of the vector, and if I could then what would the code look like? Would I just call the function the way I would normally …

Member Avatar for mrnutty
0
83
Member Avatar for aleX_X

I have to make a function under class record that returns a pointer person class data type. I am assuming that this means setting a person object to equal to the returned pointer person class type but in order to do that It looks like i need to make an …

Member Avatar for umairch
0
188