I just have one question about structures. Is it not possible to use a structure as an argument for a function?
for example:
struct my_structure
{
int x;
int y;
};
void do_something(my_structure a)
{
a.x = 1;
a.y = 2;
}
The above wouldn't be valid? I tried doing something like this and it doesn't compile.
EDIT: Looks like you can't declare structure types locally either.