Is there any open-source cross-platform library for working with processes in C? [closed] - c

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()?

Related

Is there a way to compile MS-DOS programs on Windows 7? [closed]

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 6 years ago.
Improve this question
I want to compile C/C++ programs that are supposed to run on MS-DOS, can I do this without actually installing DOS?
If I can not, can I use a virtual machine as a work-around? (I tried this before asking but I can't see if they will work on an actual DOS on a physical machine)
Yes -- there are compiler toolchains like DJGPP and OpenWatcom which can build DOS executables on a Windows (or even Linux!) system.
Alternatively, if you already have a DOS toolchain that you want to use, you can certainly run that under an emulator like DOSBox.

What Graphical LIbrary should I use for C [closed]

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.

Cygwin or Gnuwin32 or MYSYS? [closed]

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.

Is there a simple and yet nice looking GUI library for a C program? [closed]

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.

BGI graphics for Linux? [closed]

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

Resources