Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Programming > C++ > C++/Tcl/C++ Int...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 2 Topic 44578 of 48022
Post > Topic >>

C++/Tcl/C++ Interface

by Soumen <soumen78@[EMAIL PROTECTED] > Apr 10, 2008 at 03:38 AM

Hi,

Not sure if this most appropriate group for this post. But I've seen
couple of posts related to C++/Tcl in this group. And that makes me
post this query in this group. Please redirect me to correct group
if this is not the most appropriate one.

I'm a newbie in Tcl and Tcl/C++ interfacing. I need to develop a
prototype for one of our upcoming project.

I've a shared library which provides Tcl procedures to traverse
through some graph which is being created upon reading a file
of specific format. If I load this shared library in Tcl shell and
call those proc to read the specific file and traverse the graph.

Graph traversal proc are like:
     * getting neighbor nodes of a given node
     * getting the node name and edge names to/from a node

Let's name this Tcl library GL (graph lib).

Now, in my C++ program I need create a duplicate graph since I don't
have capability read that file directly. So from my C++ code, I need
to
create a Tcl channel, send commands through the Tcl channel for GL
procs and get information from those GL procs to my C++ application
to build a duplicate graph on my end.

Could some one provide hints how to go about this? Any pointers to
existing resource (doc/open source code) will be very helpful.

Regards,
~ Soumen
 




 2 Posts in Topic:
C++/Tcl/C++ Interface
Soumen <soumen78@[EMAI  2008-04-10 03:38:01 
Re: C++/Tcl/C++ Interface
Soumen <soumen78@[EMAI  2008-04-10 04:09:56 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Tue Oct 14 11:34:22 CDT 2008.