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

C user interface

Hello,

I have a C little program wich takes some text as input and process it.
I would like to make a friendly user interface. I thought i could do it
with tcl/tk, but it turns out that it is not as easy as it
looks(or...). I just need to take the user input(text) and send it over
the c program for treatement. I'm not quite sure if tcl/tk is the best
choise. Anyone knows how to do this without much pain?

Thank You

Mar 7 '06 #1
3 1557

qazinor wrote:
Hello,

I have a C little program wich takes some text as input and process it.
I would like to make a friendly user interface. I thought i could do it
with tcl/tk, but it turns out that it is not as easy as it
looks(or...). I just need to take the user input(text) and send it over
the c program for treatement. I'm not quite sure if tcl/tk is the best
choise. Anyone knows how to do this without much pain?


This is off-topic here.

<OT>
Depends on your OS. You may want to take a look at gtk (www.gtk.org),
it's cross platform and LGPL.
</OT>

--
Ioan - Ciprian Tandau
tandau _at_ freeshell _dot_ org (hope it's not too late)
(... and that it still works...)

Mar 7 '06 #2
"qazinor" <qa*****@gmail.com> wrote:
# Hello,
#
# I have a C little program wich takes some text as input and process it.
# I would like to make a friendly user interface. I thought i could do it
# with tcl/tk, but it turns out that it is not as easy as it
# looks(or...). I just need to take the user input(text) and send it over
# the c program for treatement. I'm not quite sure if tcl/tk is the best
# choise. Anyone knows how to do this without much pain?

You'll get a more civil response in comp.lang.tcl. However what
you're asking is unclear. You can exec any program, passing a
string as command line argument or as stdin, and capture the
stdout or stderr. If you're to make a Tk GUI which communicates
with various programs to do computations, other people in the
Tcl community have experience doing this, communicating with
exec, bidirectional pipes, sockets, etc.

--
SM Ryan http://www.rawbw.com/~wyrmwif/
I ASSURE YOU WE'RE OPEN!
Mar 8 '06 #3
To whom it may concern, I found what I was looking for
http://etude.uwaterloo.ca/~ctrudeau/..._tk/tcl_C.html.
I really thought that there was a more simple way to do this.

Thank You.

Mar 8 '06 #4

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

Similar topics

3
by: zlst | last post by:
Many technological innovations rely upon User Interface Design to elevate their technical complexity to a usable product. Technology alone may not win user acceptance and subsequent marketability....
2
by: Dan | last post by:
All, I have a windows form application. The form will host various user controls that will implement an interface so that was new controls can be added later without recompiling the hosting...
6
by: Earl Teigrob | last post by:
I am writing an application that dynamically loads user controls at run time based on user options. I would like to give my users the ability to build their own user controls and add them to my...
6
by: grist2mill | last post by:
I want to create a standard tool bar that appears on all pages that is a control. The toolbar has a button 'New'. What I wolud like when the user clicks on 'New' depends on the page they are on. I...
24
by: Rob R. Ainscough | last post by:
VS 2005 I have: ClickOnce deployment User's that hate and or don't want to use an IE Client (don't blame them) I don't see how ASPX web pages are going to survive? With .NET 2.0 and clickonce...
1
by: David Hearn | last post by:
I am creating a user control for use on several of my pages. I have some variables that are set on my pages where the user control will be used. I need my user control to automatically be able to...
8
by: mark.norgate | last post by:
I've run into a few problems trying to use generics for user controls (classes derived from UserControl). I'm using the Web Application model rather than the Web Site model. The first problem...
3
by: psbasha | last post by:
Hi, I would like to call the same aplication executable with and without Graphical User Interface. Requirement: With Tkinter User interface,user can give the inputs to run the application (...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
0
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...

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.