473,407 Members | 2,320 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,407 software developers and data experts.

Requset a console based c++ library.

Hi All

I need a library which can afford "cisco" console or "juniper" console
style control.
(may be something like autocad's command windows)

On programming running . It can afford a "SHELL" like control internal .

You can type command you defined and execute the "handler".

Is such a library exist?

(after several month trying , I think may be I should give up write such a
lib and found one, It's not complex to write mechanism, but have out of
control- afford parsing keyword tree, string comparing , list help ,time
delay execute...., I spend too much time on it, for after all ,what I want
do is write a console based SMS sender ,not the lib it self)


key9

May 7 '06 #1
2 2217
"key9" <ia*****@126.com> wrote in message
news:e3**********@news.yaako.com...
Hi All

I need a library which can afford "cisco" console or "juniper" console
style control.
(may be something like autocad's command windows)

On programming running . It can afford a "SHELL" like control internal .

You can type command you defined and execute the "handler".

Is such a library exist?

(after several month trying , I think may be I should give up write such
a lib and found one, It's not complex to write mechanism, but have out of
control- afford parsing keyword tree, string comparing , list help ,time
delay execute...., I spend too much time on it, for after all ,what I want
do is write a console based SMS sender ,not the lib it self)


I recommend Python for this. There are two basic ways to do it: 1) write a
shared library in C++ and run it under Python using Boost.Python (which is
what I do) or 2) write the main program in C++ and run Python from there.
The first technique, called "extending", sounds more like what you want. The
second technique, called "embedding", is what I would do to add scripting to
a C++ application.

Of course if you don't know Python you will have to learn some, but unlike
C++ it is very easy to learn. Boost.Python takes all the pain out of
connecting up the C++ and the Python console is intuitive and powerful. I'm
in the middle of a project using these tools right now and I couldn't be
happier with it. See www.boost.org

Cy
May 8 '06 #2
Thank you very much , I 'll keep on trying...
May 8 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

19
by: Dave | last post by:
Hi, I have done some research, trying to Clear The Screen in java code. The first option was the obv: system.out.print("\n\n\n\n\n\n\n\n\n\n\n\n"); then i heard about this method:...
2
by: Richard Shea | last post by:
Hi - I wondered if anyone had done this before and could provide some suggestions ? I'm interested in supplying extra functionality to a Win32 Console (cmd.exe) - full description below for those...
43
by: Dom | last post by:
can someone please help me display text in the console cout << "Testing"; in a different colour to the default one
0
by: Liora | last post by:
I have a Web form with a hidden text-box that contain XML data. When the application has been compiled and run at visual studio 2002, I could reach the XML data and all worked fine. Under the...
4
by: Derek Strickland | last post by:
Hello world I have a console application that loads several classes. I would like on of my classes to be able to detect input made in the console and take action based on the input. Sounds...
6
by: Roberto Dias | last post by:
Could anyone give me some tips about how to start a menu-based console application using C++ function oriented programming techniques? I'm a FORTRAN-based electrical engineer and a newbie on C++...
4
by: Manfred Braun | last post by:
Hi All ! I think, there is a bug in the System.Console class related to use the STDIO streams. I am doing a very simple thing in a console-based program named CS Console.In.Peek(); and...
6
by: David Thielen | last post by:
Hi; This works fine on my development system but fails on IIS on Win 2003. I have requests for filename.txt, filename.rtf, etc that must go to my ASP.NET code. I have the following in my...
3
by: Daniel Clark | last post by:
I have a Windows command line based application that only shuts down cleanly if it sees "CTRL-C" on the console. I need to automate the running of this application, but still allow the user sitting...
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
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.