2
Contributors
5
Replies
6
Views
10 Years
Discussion Span
Last Post by Narue
0

When I build the program, I didn't get any errors, but when i try to run the program, visual studio displayed a message saying that the location file could not be found. What does that mean?

0

>but when i try to run the program, visual studio displayed
>a message saying that the location file could not be found.
Still too vague. First, you posted two programs, but you didn't specify which one is giving you the problem. Second, you're not using any file I/O in your program, which means the error is coming from something less obvious. I'd wager a guess that it has to do with how you've set up the source files in a multi-file project, but I can't really say unless you paste the exact error instead of paraphrasing.

0

This is the error message I got; fatal error C1083: Cannot open include file:'primes.h' no such file or directory. The problem I am talking about is with chapter 4 ass. 12 (primes program).

0

Okay, the problem is that you're trying to include primes.h, but it doesn't exist in your project.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.