473,385 Members | 1,766 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Need help about java code about serialization graph

13
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...
Apr 21 '07 #1
5 1721
JosAH
11,448 Expert 8TB
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
Apr 21 '07 #2
ri58776
13
Sure, u can move that to c/C++ group, then I wil convert code from c to java..
Thanks
Apr 21 '07 #3
JosAH
11,448 Expert 8TB
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
Apr 22 '07 #4
ri58776
13
Sorry, for making you confused...
I will really appreacite if you move it to the C/C++ group.
Thanks..
Apr 22 '07 #5
JosAH
11,448 Expert 8TB
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
Apr 22 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

2
by: fperfect13 | last post by:
The problem is like this: I have a class C1 which has a private field "private Graph graph;" accesed by a property(C1.Graph). The class Graph is serializable but when i pass to a method that...
2
by: jakk | last post by:
Below is the exception that Iam getting. It says that the DataView that Iam storing in the session is not Serializable. BUt works fine if I store in the inproc session and fails if I switch to...
2
by: huiling25 | last post by:
I was given the pseudo code.. but i still cannot figure out how to do it... how can i find if the vertices are adjacent to the vertex on stack top? I know i have to have an array of true/false (to...
2
by: sriniwas | last post by:
Hi Frnd's, m using prefuse visulation,it's have one display class and this class have one saveImage(outPutStream, String jpg,double size);. now graph is converting ia jpg image properly.now my...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.