Skip to main content

Timeline for Store values in array

Current License: CC BY-SA 3.0

8 events
when toggle format what by license comment
Jan 18, 2018 at 10:21 comment added Code Gorilla Yes #include <xxx> before #include "xxx". This also means if you get a duplicate definition int foo = 7 the error will be reported against the code you are more likely to have written rather than suggesting some system library is wrong. Others will argue I'm wrong, but it would be boring if we all thought the same.
Jan 18, 2018 at 9:11 comment added mascail Do you mean in this case Wire.h should come before NAxisMotion.h?
Jan 17, 2018 at 15:50 comment added Code Gorilla It would be better if you adopted the habit of including system libs first. The reason behind this is it is theoretically possible (very unlikely) that a header file will include a the system lib header and then redefine a pre-processor variable that the system library uses and so you might get different/conflicting header files for the library. Very very unlikely, unless you work with true coding cowboys.
Jan 17, 2018 at 15:10 vote accept mascail
Jan 16, 2018 at 19:03 vote accept mascail
Jan 16, 2018 at 20:29
Jan 16, 2018 at 13:28 answer added Code Gorilla timeline score: 0
Jan 16, 2018 at 12:39 review First posts
Jan 16, 2018 at 12:49
Jan 16, 2018 at 12:35 history asked mascail CC BY-SA 3.0