
-----------------------------------
saltpro15
Wed Jan 14, 2009 4:44 pm

Weird Computer Glitch, any ideas?
-----------------------------------
Hello all, for some reasons my Computer no longer knows how to navigate directories :S  While programming with C++, the code is perfect, the path is specified, it works fine on my laptop, but on the tower computer, it just says "Error, file not found", no matter what language I'm using.  Any ideas what could cause this or how to fix it?

-----------------------------------
Tony
Wed Jan 14, 2009 5:40 pm

Re: Weird Computer Glitch, any ideas?
-----------------------------------
the path is specified
could it be that on a different computer, the file (the one not found) is in a different location?

-----------------------------------
saltpro15
Wed Jan 14, 2009 6:03 pm

RE:Weird Computer Glitch, any ideas?
-----------------------------------
I don't think so, when I downloaded Visual C++ 2008 its installed in program files on both computers, the path should be the same.  It has the same error for Turing too, when I write I/0 files it says "file not found" for the .txt input file, I made sure they're named properly and in the proper folders, its weird

-----------------------------------
Tony
Wed Jan 14, 2009 6:14 pm

Re: RE:Weird Computer Glitch, any ideas?
-----------------------------------
I don't think so, when I downloaded Visual C++ 2008 its installed in program files on both computers, the path should be the same.
Not necessarily. Or rather, the the system PATH variable might not have been set the same. Though now I'm a little suspicious of how you are looking for the files. Can you read a file from the current folder of the application?

-----------------------------------
saltpro15
Wed Jan 14, 2009 6:32 pm

Re: Weird Computer Glitch, any ideas?
-----------------------------------
Can you read a file from the current folder of the application?

what do you mean?

-----------------------------------
Tony
Wed Jan 14, 2009 7:07 pm

RE:Weird Computer Glitch, any ideas?
-----------------------------------
If I take your executable and place it into some folder, would it be able to read what else is in that folder?

-----------------------------------
Clayton
Wed Jan 14, 2009 9:29 pm

RE:Weird Computer Glitch, any ideas?
-----------------------------------
Google relative and absolute directories. My guess is that is your problem.
