Hi there, I have two structs where I am trying to copy from.
typedef struct {
char *netID[7];
int hopCount;
char *nextHop[2];
}Routers;
Routers one;
Routers two;
I read from file and set one.netID = something, one.hopCount = something and etc
How can I set two the same as one?
Can someone please help, its urgent!!
Thanks
typedef struct {
char *netID[7];
int hopCount;
char *nextHop[2];
}Routers;
Routers one;
Routers two;
I read from file and set one.netID = something, one.hopCount = something and etc
How can I set two the same as one?
Can someone please help, its urgent!!
Thanks