|Array of pointers to arrays
|Page 1 of 1|
|Author:||jnmacdnld [ Sun Nov 03, 2013 12:28 pm ]|
|Post subject:||Array of pointers to arrays|
Arrays are pointers to the first value of the array, so why doesn't this compile?
EDIT: motorLuts[backLeftDrive] = &backLeftDriveSettingLut works, but I want to be able to access values like motorLuts[backLeftDrive], for example. (From what I understand, &backLeftDriveSettingLut is a pointer to a pointer.) I don't have a cortex to test this on, but would it work?
|Page 1 of 1||All times are UTC - 5 hours [ DST ]|
|Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group