You are in charge of a high profile software design consulting firm. A customer bursts through the front door, comes running in flailing his arms wildly about, stops at your cubicle, looks you square in the eye and makes the following demand:
the ocean file has to be made separately by 15 by 15, but this is simple and i can do this. what i need help with is the update counter. which is i think to update the map. plese help me out!!!
Q: How do you respond...
Clinton Portis
Practically a Posting Shark
833 posts since Oct 2005
Reputation Points: 237
Solved Threads: 119
Skill Endorsements: 5
sry to make this so confusing. in need the function called updateCounter. and what it should do is to update the map to show if i have it the target or not. hope that was clearer.
Translation:
"I'm sorry to make this so confusing. I need to develop a function called, 'updateCounter.' It should update the map to show if I have hit the target or not."
It appears that you load a 2 dimensional array with ship positions. You should compare user input to the corresponding element of the array. If the element is occupied, then return hit, else return miss.
If hit, make a 'hit' assignment to the array, else update the array with a miss indication.
Redraw the array and prompt for next user guess.
Clinton Portis
Practically a Posting Shark
833 posts since Oct 2005
Reputation Points: 237
Solved Threads: 119
Skill Endorsements: 5
who's program is it..???
why do you have it....??!??!
more importantly, can I have a cut of what he is paying you..?
Clinton Portis
Practically a Posting Shark
833 posts since Oct 2005
Reputation Points: 237
Solved Threads: 119
Skill Endorsements: 5
I'm sorry to say this hombre... unless she is giving it up, you better grow a pair and tell her to do her own @#@$!@#$ homework.
(however, if she is giving it up I'll be glad to assist you in anyway i can)
Clinton Portis
Practically a Posting Shark
833 posts since Oct 2005
Reputation Points: 237
Solved Threads: 119
Skill Endorsements: 5
shes out of town,
so she's out of town 'taking care of her needs' while you are here having to learn a somewhat complex object oriented programming language in false dellusional hope that you might get a piece of the action.
i can tell you now, that if you haven't closed the deal it's not going to happen.
next time, she has to 'pay up front' if you know what i mean.
Clinton Portis
Practically a Posting Shark
833 posts since Oct 2005
Reputation Points: 237
Solved Threads: 119
Skill Endorsements: 5
I'll tell you now, there is absolutely nothing wrong with an older woman. I ask that you expand your horizons to the include the cougar age group.
Next time you see her, tell her that you want to 'sink her battleship.'
Clinton Portis
Practically a Posting Shark
833 posts since Oct 2005
Reputation Points: 237
Solved Threads: 119
Skill Endorsements: 5
Question Answered as of 3 Years Ago by
Clinton Portis