|
Re: How to manipulate a variable value using an array?
Oh you sly bastard  You are basically bypassing the whole naming system of variables with input and directly puting data to addresses. I like this  The int *input is just the declaration of input and not the actual conversion of &x to data....that was the confusing part. I can see why google refers to pointers as "advanced c".
Can you check the code i posted above the above post to tell me if that will work fine?
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).
Last edited by amateurrobotguy : 13-12-2007 at 02:29.
|