|
-
March 24th, 2010, 07:21 PM
#3
Re: Pointers
 Originally Posted by VladimirF
It would help if you show WAHT did you try, and what errors did you get.
(ArrayOfPtrs[2]+numDigits) = (ArrayOfPtrs[0]+numDigits) + (ArrayOfPtrs[1]+numDigits)
i tried that, stupidly...error was can't add pointers
so then i tried this
(ArrayOfPtrs[2]+numDigits) = (*ArrayOfPtrs[0]+numDigits) + (*ArrayOfPtrs[1]+numDigits)
and it was also an error.
Thinking about it I know that these two ways can't work, but I can't, at the moment, find a way to write it correctly.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|