Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I want to make a project in C using GUI on windows. What are all the graphical libraries I can use and which one is the best. I have tried windows.h and SPL(stanfords portable Library).
It depends if you want to code something portable to other operating systems (notably GNU/Linux, which I invite you to install on your laptop) or not. If you are developing a free software (and wants to get some external contributions) and/or care about software portability, you may want to use a cross-platform toolkit like GTK, libsdl, libsfml etc..
If C++ is an option, consider also Qt
I am not sure that enumerating all graphical libraries (or widget toolkits) makes any sense. Very probably, there exist a lot of proprietary (or even open source) obscure ones.
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I've tried to google it and I understood some stuff, but still don't know which one is suitable for my needs.
all I want to do is to compile C file (or C++) under Unix environment (so I can use Fork and stuff that don't work on windows) and run these files after compiling it.
to be more exact, I need to use Fork+Semaphores and to use OpenMPI. I know I can do these with Cygwin (or that's what I understood), but it seems like it has a very large size, so I thought if this Gnuwin32 or MYSYS can do what I want to do and they have less size then Cygwin, then it's better ?
If you are absolutely sure you require fork and cannot instead use a more platform independent way of multiprocessing (a thin fork/CreateProcess wrapper) or multithreading (pthreads, Boost.Thread, C++11 std::thread, ...), then you are forcing yourself to use Cygwin.
Note that Cygwin's fork is pretty much as efficient as fork can get on Windows, which is not very, as the OS wasn't designed with that operation in mind, hence the kernel level support is missing.
Cygwin itself is not that big: it's only a DLL you link to that provides the POSIX interface. But do note that Cygwin is GPL and linking to the Cygwin DLL will force copyleft on your project as well.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Not C++ like boost::process or Qt but plain C. Is there any open-source cross-platform C library for working with processes?
glib (think Gnome) is the peer of Qt (think Kde) but being written in C. There is a section titled Spawning Processes that may be of interest.
Depending on what you're trying to achieve and what you mean by "cross platform", you could write everything to target POSIX and just use Cygwin for your Windows port. I think that covers Linux, Unix, OSX (aka BSD), and Windows XP - Win 7, and any RTOS with a POSIX layer (e.g. QNX). Not sure if Cygwin works on Win 8.
See also:
What is the closest thing windows has to fork()?
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
I program mostly in C while studying at university. I was wondering if there is some simple open-source library that would let me make a GUI for a program in C.
Things to concider by priority:
Simple
Nice-looking
Features
I don't know how to program in C++ and would prefer to stay in pure C.
i would highly recommend Glade + GTK.
i use it in combination with python, and it works quite well.
it's also very simple to use.
here is an example:
http://people.gnome.org/~newren/tutorials/developing-with-gnome/html/apc.html#libglade-example-1
hope that helps!
EDIT:
here is a more extensive tutorial:
http://www.micahcarrick.com/gtk-glade-tutorial-part-1.html
However, notice that it might be difficult to write GUI code in C which runs on many different systems (e.g. on Linux, MacOSX, Android, and Windows). Gtk claim to have such a goal, but I don't know if it fully reached.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Are there any open source C Library (not c++) for Windows Driver Development ?
I am developing a network device driver that need some functionality such as RegEx, string manipulation, Object Oriented by C and XML and so on...
thanks.
Not aware of any real regular expression libraries. However, depending on what you need FsRtlIsNameInExpression may be of some interest. There's plenty of string manipulation functions in the Safe String Libraries, they just have names that are different to the libc equiavalents.
Please don't do this in a driver. It would be frowned upon in the Windows driver communities.
What keeps you from communicating with a UM module of your product to do such more error-prone operations? Keep the operations, especially risky ones, to a minimum within a driver. When your UM module crashes, it may take down a process, when your driver crashes it will inevitably take down the system.
No question: it's possible. But not everything that is possible should also be done ;)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I need to know whether there is any BGI library for graphics in Linux.
Please do not suggest any library other than BGI because I want to use it using C and I am comfortable with it.
I want to use it using C and I am comfortable with it
Is that a reason to shun other, perhaps more suitable C accessible libraries that are fit-for-purpose?
A quick search online showed that:
BGI is abandoned
There is BOSS
I quote:
BOSS
This is the BGI Over SDL Subsystem
that consists of a rewrite of old DOS
header file/libraries: Borland's
graphics.h, conio.h, bios.h. Also
includes some support for sound and
for mouse. I started this project to
support a couple DOS game projects a
friend and I were working on many
years ago. Here's the page on which I
had charted my original progress.
Which you can find here