View Single Post
  #1   Spotlight this post!  
Unread 12-12-2007, 22:14
amateurrobotguy's Avatar
amateurrobotguy amateurrobotguy is offline
Lead Programmer/Senior Engineer
no team
 
Join Date: Feb 2005
Rookie Year: 2000
Location: ****
Posts: 136
amateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these partsamateurrobotguy is infamous around these parts
Re: How do i put all of the relay inputs into an array?

Better yet, how can a store variable names within an array so that when i say:
myVar = 1;
array[1] = {myVar};

array[1] = 2;
printf(myVar);

I want the displayed output to be 2
__________________
I quit FRC over 2 years ago (more if you're reading this past 2010).

Last edited by amateurrobotguy : 12-12-2007 at 22:20.