i am facing several problems....
first one is: how do i typedef a structure
i've seen many ways to do it but im not quite sure which one is the right one.
this is what i think how it goes (but dont know why it goes that way)
typedef struct MyStucture mystructure;
struct MyStructure
{
....
} abc[10];
and i dont know what is identifier, and what is object here...at least - im not quite sure
second problem is when i try to make a swap function:
void swapAb (mystructure *a, mystructure *b)
{
mystructure *temp;
temp = x;
x = y;
y = temp;
}
- it doesnt work, no compiler errors but no swap is made
that would be for now
thanks in advance