Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

Author
Message
MrTAToad
21
Years of Service
User Offline
Joined: 26th Aug 2002
Location: United Kingdom
Posted: 15th Sep 2002 23:19
How do you access an index in pointers ?

*(addr+0) generates and error and *(addr)+0 is invalid

The only thing I can think of is something like :

a=*(addr)
inc addr,1

Which is inefficient...
Yes, I really am THAT good...

Login to post a reply

Server time is: 2024-04-18 06:02:13
Your offset time is: 2024-04-18 06:02:13