Friday, July 31, 2009

Help with c++ please? asap!?

I have a c++ program that for some reason is not working right. I think its easy and I'm doing something simple wrong... If somebody could pleaseeeeeee help me, I could email my program to someone maybe? I need to hand it in by tuesday so please answer as soon as possible!

Help with c++ please? asap!?
wow this was extremely eeeeezzzzzz





modifly line 25 to read


(%26amp;arrayOne[i], %26amp;arrayTwo[i], NUMBER);





you pass int pointers to you function, and thats what an array name is, a pointer, [a] is really an operator that would be the equivalent of


*(arrayname+a)





you were just passing the first in in the array each time, now slap urself!





o and good use of encapsulation lol it was ez to debug
Reply:Post your code, then maybe someone will help. Or at least they can discribe what you could try. You quesion is too vague.


No comments:

Post a Comment