Is there a way to compile MS-DOS programs on Windows 7? [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 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.

Related

A Trace32 script simulator? [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'm new to T32 script, and would like to test few scripts from the example of the user guide.
However, I don't have a target to hook up with, so I'm wondering if there are something like a simulator which I can try my scripts without connecting to a real device.
Just want to practice the language first.
Thanks!
TRACE32 can run as instruction set simulator by setting the operation mode in the configuration file that you have to provide on start-up. A minimal configuration file for starting the simulator looks like this:
PBI=SIM
PRINTER=WINDOWS
SCREEN=
HEADER=TRACE32 ARM SIMULATOR
Using PBI=SIM makes sure that TRACE32 operates as instruction set simulator. You can specify configuration files on the command line with <t32_executable> -c <config_file>

Code completion for C code in TensorFlow [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 am developing a custom Op for TensorFlow, using Ubuntu on virtual machine and either rmate to edit the code in local Atom installation on my Mac, or Emacs to edit it right on the virtual machine.
Is there a way to enable code completion suggestions for C code in TensorFlow?
There's no special support in TensorFlow for code completion, but there may be a specific solution for your editor. For example, this answer on SuperUser covers different approaches to C/C++ code completion in Emacs.
One way I've managed to get C++ auto-completion is to use the (experimental) TensorFlow CMake build to generate Visual Studio project files for the project, and then use Visual Studio to edit the code.

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.

Is there any open-source cross-platform library for working with processes in 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 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()?

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