Hi,
I have a C program, and i looking to develop a simple GUI for this
program. i want to use something that is platform independent
(portable) and easy to learn.
Any suggestion is highly appreciated.
Shamli 9 9926
>I have a C program, and i looking to develop a simple GUI for this program. i want to use something that is platform independent (portable) and easy to learn. Any suggestion is highly appreciated.
If you want a *PORTABLE GUI*, you're pretty much limited to "ASCII
art". (or whatever character set your implementation uses, but I
don't recall hearing the terms "EBCDIC art" or "BAUDOT art" or
"Latin-1 art" used).
The "ncurses" or "curses" packages (found on but not limited to
UNIX; I believe there is an MS-DOS implementation, and telnet /
terminal emulator windows under X or Microsoft Windows that emulate
a known terminal type are also usable) are not portable (but still
do better than hard-coding for one terminal type), and depend on
you telling it the characteristics of the terminal you are using
for things like cursor positioning and clearing the screen (something
which doesn't work very well on printing terminals).
Oh, yes, portable C doesn't do meeces nor character-by-character
(not waiting for ENTER/RETURN) I/O.
Gordon L. Burditt
Shamli wrote: Hi, I have a C program, and i looking to develop a simple GUI for this program. i want to use something that is platform independent (portable) and easy to learn. Any suggestion is highly appreciated. Shamli
Start with a book. Try "The elements of user interface design".
Platform independant GUI's in C are ummm... I don't want to say
impossible but...
Shamli wrote: Hi, I have a C program, and i looking to develop a simple GUI for this program. i want to use something that is platform independent (portable) and easy to learn. Any suggestion is highly appreciated. Shamli
Unfortunately, this cannot be done portably using standard C.
<OT>
Tcl/Tk is a good option for a portable GUI, and definitely qualifies as easy
to learn in my books. You have interpreters for at least two widely used
platforms (Windows and most *NIX flavors), plus it is relatively easy to
integrate with C code.
</OT>
-nrk.
"Shamli" <as*****@hotmail.com> schrieb im Newsbeitrag
news:5b**************************@posting.google.c om... Hi, I have a C program, and i looking to develop a simple GUI for this program. i want to use something that is platform independent (portable) and easy to learn. Any suggestion is highly appreciated. Shamli
You can use libraries like ZINC, StarView, wxWindows, Tk (as in Tcl/Tk or
Perl/Tk), Qt, GTK, and so on.
Here's a list of some known GUI libraries: http://www.geocities.com/SiliconVall...4/guitool.html as*****@hotmail.com (Shamli) wrote in message news:<5b**************************@posting.google. com>... Hi, I have a C program, and i looking to develop a simple GUI for this program. i want to use something that is platform independent (portable) and easy to learn.
I think, you're looking for wxWindows ( http://www.wxwindows.org/ )
--
"If there is a God, he must be a sadist!" http://guideme.itgo.com/atozofc/ - "A to Z of C" Project
Email: rrjanbiah-at-Y!com
"R. Rajesh Jeba Anbiah" wrote: I think, you're looking for wxWindows ( http://www.wxwindows.org/ )
Eeehm, wxWindows is afaik written in C++. I don't think it will help him in
C programs.
Have a good day,
Christian
Thank you all for the responses.
Christian you are right about wxwindows it is for C++, What about
GLUI.
I am simply looking for a library where i can call within my code.
my GUI may have buttons, checkboxes, text boxes and a picture box
where i do simple graphics like points, lines and circiles.
Cheers,
"Christian Waluga" <cw*****@gmx.de> wrote in message news:<bq*************@news.t-online.com>... "R. Rajesh Jeba Anbiah" wrote: I think, you're looking for wxWindows ( http://www.wxwindows.org/ )
Eeehm, wxWindows is afaik written in C++. I don't think it will help him in C programs.
Have a good day,
Christian
think you for the list,
it is really helpful.
"Ekkehard Morgenstern" <ek******************@onlinehome.de> wrote in message news:<bq**********@online.de>... "Shamli" <as*****@hotmail.com> schrieb im Newsbeitrag news:5b**************************@posting.google.c om... Hi, I have a C program, and i looking to develop a simple GUI for this program. i want to use something that is platform independent (portable) and easy to learn. Any suggestion is highly appreciated. Shamli
You can use libraries like ZINC, StarView, wxWindows, Tk (as in Tcl/Tk or Perl/Tk), Qt, GTK, and so on.
Here's a list of some known GUI libraries: http://www.geocities.com/SiliconVall...4/guitool.html as*****@hotmail.com (Shamli) wrote in message news:<5b**************************@posting.google. com>... Thank you all for the responses. Christian you are right about wxwindows it is for C++, What about GLUI. I am simply looking for a library where i can call within my code. my GUI may have buttons, checkboxes, text boxes and a picture box where i do simple graphics like points, lines and circiles.
You may find the Leonardo C Library useful... Although in its infancy
compared to wxWindows or Qt (great C++ tools that have been around for
a decade), the Leonardo Library makes it fairly easy to create simple
GUI apps with basic widgets and 2D graphics (OpenGL support coming
soon).
Check out: http://www.leonardo-vm.org/ll.shtml
Cheers, Camil This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: john |
last post by:
Hi
I am developing a timesheet system.
It will have 3 levels of access
1)Administrator
2)Approver -- Will approve or reject the timesheet filled by employees
3)Employees -- Fill in the timesheet...
|
by: Alastair |
last post by:
Hello guys,
I've been building a search facility for an intranet site I'm part of
developing and we've been building a search engine using Index Server.
It mostly works, however there have been...
|
by: Tim Johnson |
last post by:
Hi all,
I'm a little bit stuck, so wondering if anyone has encountered this issue
before.
I am developing a toolkit which is fully integrated in Visual Studio .NET,
and so there are lots of...
|
by: Laxman Bhat |
last post by:
Hello,
I want to develop a simple activeX control with property
page support in C#. Any code samples/reference material
will be highly appreciated.
Thanks in advance,
Laxman
|
by: Earthlink |
last post by:
Hi, I've taken an interest in developing ASP .NET web applications and I
want to use Visual Studio .NET which I already have for my development. My
problem is that I do not have a server on my...
|
by: VMI |
last post by:
A client asked me to develop a site similar to http://www.luispachecorg.com
and I don't know how much I should charge for it. The site will have about 6
pages, and one of the pages will include a...
|
by: Bernie Yaeger |
last post by:
I need some help developing a simple progressbar as it loops through a
dataset. I can get the count of rows the for each runs through but I don't
know how to use this information to control the...
|
by: Danny Tuppeny |
last post by:
Hi all,
I'm using Visual C# Express and Visual Web Developer Express. It just
occured to me, that there seems to be no way to develop a web service to be
consumed in VWD and use it in VC#, since...
|
by: Louly |
last post by:
Hi everybody,
I'm a 22 yrs old girl. I've been developing a Database for 6 months no
using Access. A week ago I had this feeling that I'm wasting my time
in Access. I don't think it's wise to...
|
by: =?Utf-8?B?Sm9l?= |
last post by:
Hello,
I have 10 years of experience working as a Webmaster. For about an year I
worked on a 3-tier ASP application which gave me a good experience with SQL
Server (Stored procedures) and...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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...
|
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...
|
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,...
|
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: 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,...
| |