Program to run C programs?

D

Dirk

Hello,

I have a bunch of C programs that I've written and I was wondering if
there was a program out there, preferably free, or a method of running
these programs on my Windows Vista notebook? I don't necessarily need
a program that will compile anything, just run the binary files. I was
told about jGrasp, but could not get the compiler to work or figure
out how to just run a program without compiling the source file.

Thanks for any help.

Cheers,

-Dirk
 
S

santosh

Dirk said:
Hello,

I have a bunch of C programs that I've written and I was wondering if
there was a program out there, preferably free, or a method of running
these programs on my Windows Vista notebook?

What's wrong with invoking them from the command line?
I don't necessarily need
a program that will compile anything, just run the binary files.

<OT>
Just type it's path at the command prompt, and the system should execute
the program if it's suitable for that system. Otherwise you either need
to run it under an emulator or under a guest operating system of
suitable type. For example if you want to run Windows binaries under a
UNIX system you could try running under WINE or run a Windows system as
a guest under your UNIX system and run the binary from it.

Of course recompiling the source to generate native executable files is
the best method, if you have access to source.
</OT>

For further details ask in a group specific for your target system.

<snip>
 
K

Kenneth Brody

Dirk said:
Hello,

I have a bunch of C programs that I've written and I was wondering if
there was a program out there, preferably free, or a method of running
these programs on my Windows Vista notebook?

There are several free C compilers that support Vista output.
I don't necessarily need
a program that will compile anything, just run the binary files.

What "binary files"? Do you have C source code, or a compiled binary?
If it's a compiled binary, for what platform were they compiled?
I was
told about jGrasp,

I thought jGrasp was for Java?
but could not get the compiler to work or figure
out how to just run a program without compiling the source file.

If you have C source code, then you need to either (1) compile it,
or (2) get a C interpreter.

[...]

--
+-------------------------+--------------------+-----------------------+
| Kenneth J. Brody | www.hvcomputer.com | #include |
| kenbrody/at\spamcop.net | www.fptech.com | <std_disclaimer.h> |
+-------------------------+--------------------+-----------------------+
Don't e-mail me at: <mailto:[email protected]>
 
J

Jack.Thomson.v3

Hello,

I have a bunch of C programs that I've written and I was wondering if
there was a program out there, preferably free, or a method of running
these programs on my Windows Vista notebook? I don't necessarily need
a program that will compile anything, just run the binary files. I was
told about jGrasp, but could not get the compiler to work or figure
out how to just run a program without compiling the source file.

Thanks for any help.

Cheers,

-Dirk

Just write a Batch file...
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,954
Messages
2,570,116
Members
46,704
Latest member
BernadineF

Latest Threads

Top