swap
Posted: Tue Feb 21, 2006 3:58 pm
i have two struct which contains string, integer and another types
for example
i swapped these manually, has anybody know how to swap these.
without changing their's pointers.
thanks
for example
Code: Select all
struct{
char s[100];
int a,b,c,d[1000];
float f;
} one, two;
without changing their's pointers.
thanks