A
adam.kleinbaum
Hi there,
I'm a grad student working on my university's Linux system, connecting
via the network and using the GCC compiler. My C programs take
advantage of Linux's < and > operators to read stdin from a file and
write stdout to a file, as well as to read from a 2nd file that the
program takes as an argument. So a typical program gets executed like
this: "./prog infile <stdinfile >stdoutfile". (BTW, I'm not sure this
is considered good programming practice, but I do it anyway, so please
don't yell at me over this one...)
I'm looking for a way to run these programs when I'm offline. Does
anyone know a Windows (XP) version of the GCC compiler that allows me
to specify a file for stdin and hopefully also for stdout? Thanks so
much,
Adam
I'm a grad student working on my university's Linux system, connecting
via the network and using the GCC compiler. My C programs take
advantage of Linux's < and > operators to read stdin from a file and
write stdout to a file, as well as to read from a 2nd file that the
program takes as an argument. So a typical program gets executed like
this: "./prog infile <stdinfile >stdoutfile". (BTW, I'm not sure this
is considered good programming practice, but I do it anyway, so please
don't yell at me over this one...)
I'm looking for a way to run these programs when I'm offline. Does
anyone know a Windows (XP) version of the GCC compiler that allows me
to specify a file for stdin and hopefully also for stdout? Thanks so
much,
Adam