Connecting Tech Pros Worldwide Forums | Help | Site Map

Need help about java code about serialization graph

Newbie
 
Join Date: Feb 2007
Posts: 13
#1: Apr 21 '07
Does anyone have java code of serializing and deserializing graph???
I am using structure
typedef struct Node{
struct Node *Left;
struct Node *right;
inr value;
}Node;
and function
void savegraph(FILE *out,const node *r) which save text format of the graph with node and arcs.

plzz, help if anyone have any idea...

JosAH's Avatar
Expert
 
Join Date: Mar 2007
Posts: 10,611
#2: Apr 21 '07

re: Need help about java code about serialization graph


Quote:

Originally Posted by ri58776

Does anyone have java code of serializing and deserializing graph???
I am using structure
typedef struct Node{
struct Node *Left;
struct Node *right;
inr value;
}Node;
and function
void savegraph(FILE *out,const node *r) which save text format of the graph with node and arcs.

plzz, help if anyone have any idea...

Do you want me to move this question to the C/C++ group? That piece of
code definitely isn't Java. Or do you want to translate that piece of C/C++ code
to Java?

kind regards,

Jos
Newbie
 
Join Date: Feb 2007
Posts: 13
#3: Apr 21 '07

re: Need help about java code about serialization graph


Sure, u can move that to c/C++ group, then I wil convert code from c to java..
Thanks
JosAH's Avatar
Expert
 
Join Date: Mar 2007
Posts: 10,611
#4: Apr 22 '07

re: Need help about java code about serialization graph


Quote:

Originally Posted by ri58776

Sure, u can move that to c/C++ group, then I wil convert code from c to java..
Thanks

Now you've confused me: the code you have shown is pure C/C++ code (with a
typo in it). What do you want? C/C++ code? Java code? If you want C/C++ code
I'll move this thread over to the C/C++ group, otherwise this Java group will be
more appropriate.

kind regards,

Jos
Newbie
 
Join Date: Feb 2007
Posts: 13
#5: Apr 22 '07

re: Need help about java code about serialization graph


Sorry, for making you confused...
I will really appreacite if you move it to the C/C++ group.
Thanks..
JosAH's Avatar
Expert
 
Join Date: Mar 2007
Posts: 10,611
#6: Apr 22 '07

re: Need help about java code about serialization graph


Quote:

Originally Posted by ri58776

Sorry, for making you confused...
I will really appreacite if you move it to the C/C++ group.
Thanks..

Consider it done.

kind regards,

Jos
Reply


Similar C / C++ bytes