|
Pointers to structs?
I'm trying to abstract relays into a structure with a forward and reverse element. The idea is to have a single set_relay() funtion that takes a pointer to this data structure as it's input.
I can't figure out how to get mcc to accept my syntax. I've been referencing a lot of documents, so I'm pretty sure my syntax is correct, but I haven't verified it with gcc or what not. I'm going to go do that now and then post some of my example code. Was just wondering if there's problems to start with though.
__________________
Team 677 - The Wirestrippers - Columbus School for Girls and The Ohio State University
EMAIL: mccune@ling.ohio-state.edu
...And all you touch and all you see
Is all your life will ever be...
|