structures and pointers




i don't see structs/unions nor pointers in compiler reference.
please, tell me compiler supports structures , pointers.


arduino reference (extended)

the arduino language based on c/c++ , supports standard c constructs , c++ features. links against avr libc , allows use of of functions; see user manual details.

yes, of course supports pointers , structures.  here's snip menu code wrote (which appears work.)

code: [select]
typedef void * menu_action_t;

typedef const struct menu_item_ {
   unsigned char menu_key;
   menu_action_t menu_action;      /* function or menu pointer */
} menu_item_t;


Arduino Forum > Forum 2005-2010 (read only) > Software > Syntax & Programs > structures and pointers


arduino

Comments