This is the mail archive of the
cygwin
mailing list for the Cygwin project.
RE: executing C program in cygwin
- From: "Patil, Ashwin Channabasavaraj" <Ashwin dot Patil at in dot unisys dot com>
- To: "Enna" <a dot v dot balthasar at lse dot ac dot uk>, <cygwin at cygwin dot com>
- Date: Wed, 22 Aug 2007 17:27:22 +0530
- Subject: RE: executing C program in cygwin
- References: <12273008.post@talk.nabble.com>
Hi,
Check whether "filename" is present in you present working directory.
Alternatively, give the absolute path to the file "filename" when you
run your program.
-Ashwin
-----Original Message-----
From: cygwin-owner@cygwin.com [mailto:cygwin-owner@cygwin.com] On Behalf
Of Enna
Sent: Wednesday, August 22, 2007 5:18 PM
To: cygwin@cygwin.com
Subject: executing C program in cygwin
I have the following problem: I would like to execute a C program from
the
cygwin console. This program is supposed to get its input from another
file,
so what I type into the cygwin console is
/path to the program/programname<filename
This worked fine yesterday, however today all i get is the message
"bash:
filename: no such file or directory". I must admit that I shifted the
directory containing all that stuff around a little bit, but the file is
still in that directory, so I have no idea what the problem is. Please
help!
Thanks.
--
View this message in context:
http://www.nabble.com/executing-C-program-in-cygwin-tf4311118.html#a1227
3008
Sent from the Cygwin Users mailing list archive at Nabble.com.
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Problem reports: http://cygwin.com/problems.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/