Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7697065
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T21:55:28+00:00 2026-05-31T21:55:28+00:00

Can I write a C++ code that can be compiled and used for extending

  • 0

Can I write a C++ code that can be compiled and used for extending TCL (I don’t mean calling an executable file)? Can I describe some classes, functions and use them for in my TCl code by calling the compiled (.so or .a file) C++ code? If yes, then please explain me schematically how it is being done.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T21:55:29+00:00Added an answer on May 31, 2026 at 9:55 pm

    http://cpptcl.sourceforge.net/ It is a C++ wrapper of Tcl C API and very convenient to use, well documented. I tell this from my personal experience.

    C++/Tcl is a library that allows to easily integrate C++ and Tcl.
    If you write programs in both languages, you will find it to be extremely helpful.

    The C++/Tcl library was inspired by the Boost.Python library and was designed to provide a similar interface.

    Currently, the C++/Tcl library offers the following features:
    Support for both extending Tcl with C++ modules and embedding Tcl in C++ applications.
    Possibility to expose free C++ functions as commands in Tcl.
    Possibility to define classes and class member functions, visible in Tcl in the style similar to SWIG wrappers.
    Possibility to manipulate Tcl lists and objects from the C++ code.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Can I write a C++ code that can be compiled and used for extending
I need to write a delegate function that can 'wrap' some while/try/catch code around
Today, I found out that you can write such code in C++ and compile
Can anyone tell me how to write javascript code that removes everything after the
Is there an easy way to write C code that can access its Git
Is there a c# library that can help to write and indent Javascript code.
I've heard that the advantage of java is that people can write code, compile
I'm trying to build some image algebra code that can work with images (basically
I've written some C++ code that runs perfectly fine on my laptop PC (compiled
When I write code in Python with exception handling I can write code like:

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.