|
From: Chris S. <CS...@Ai...> - 2003-10-02 04:39:47
|
Damian,=20 =20 When you run DevC++ from the IDE (ie the development environment) and = don't specify a file path when opening files, then DevC++ uses the = default path, ie the location of your DevC++ program files, usually = "C:\Program Files\Dev-C++\Bin" or similar. So this is where your = application will look when trying to open a file.=20 =20 To get around this. either specify the full path of the files you are = trying to open, or put the files in the same place as your DevC++ = application. The first suggestion is the more elegant and efficient.=20 =20 Chris=20 =20 =20 -----Original Message----- From: damian knight [mailto:kni...@ho...] Sent: Thursday, 2 October 2003 11:59 AM To: dev...@li... Subject: [Dev-C++] opening files Hi=20 I am currently running Dev C++ v.4. I have XP home edition as my OS. = When i compile and run my program, the files I am trying to read from = are not being found. They are located in the same directory as my .cpp = files and the program works at a different location running Win 2000! Any ideas? Damian _____ =20 Get less junk mail with ninemsn Premium. Upgrade now! = <http://g.msn.com/8HMBENAU/2755??PS=3D> = ------------------------------------------------------- This sf.net = email is sponsored by:ThinkGeek Welcome to geek heaven. = http://thinkgeek.com/sf _______________________________________________ = Dev-cpp-users mailing list Dev...@li... TO = UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm = https://lists.sourceforge.net/lists/listinfo/dev-cpp-users=20 |