Nov 9, 2014 at 1:04am UTC
Removed
Last edited on Nov 11, 2014 at 9:08pm UTC
Nov 9, 2014 at 1:18am UTC
See if the location of your .exe has changed.
Make sure the startup path is correct in project properties.
Also, numRight() is not returning a value in main.
edit: I should say, you are doing nothing with this value.
numCorrect = whatever was stored as numCorrect in the past. Your program does not change it's value.
Last edited on Nov 9, 2014 at 1:27am UTC
Nov 9, 2014 at 1:22am UTC
removed
Last edited on Nov 11, 2014 at 9:09pm UTC
Nov 9, 2014 at 1:37am UTC
After re-installing visual studio, you tried creating a brand new project, copy/paste this code, and compile?
Still no success? Yikes
P.S. I have confirmed this program does not compile.
...\documents\visual studio 2013\projects\onlinehelp1\onlinehelp1\source.cpp(22): error C4700: uninitialized local variable 'numCorrect' used
As I said, but that could not be throwing the main error your experiencing... I don't think.
Last edited on Nov 9, 2014 at 1:40am UTC
Nov 9, 2014 at 1:37am UTC
removed
Last edited on Nov 11, 2014 at 9:09pm UTC
Nov 9, 2014 at 1:44am UTC
I apologize, but I have no idea. I am curious what the problem is. Please let us know if you figure it out.
Nov 9, 2014 at 1:46am UTC
removed
Last edited on Nov 11, 2014 at 9:09pm UTC
Nov 9, 2014 at 3:16am UTC
removed
Last edited on Nov 11, 2014 at 9:09pm UTC
Nov 9, 2014 at 3:31am UTC
1 2 3 4 5 6 7
for (int i = 0; i < correctAnswers.size; i++)
{
if (correctAnswers[i] == given[i])
DO SOMETHING, THEY ARE THE SAME;
else
DO SOMETHING, THEY ARE DIFFERENT;
}
Last edited on Nov 9, 2014 at 3:33am UTC
Nov 9, 2014 at 11:11pm UTC
removed
Last edited on Nov 11, 2014 at 9:08pm UTC
Nov 10, 2014 at 2:39am UTC
Are you still asking a question? You never said if you fixed the error. I'm sorry but I don't know what the point of your last post was.
Nov 10, 2014 at 4:32pm UTC
removed
Last edited on Nov 11, 2014 at 9:09pm UTC
Nov 10, 2014 at 7:07pm UTC
Your professor said "I don't know" and sent you on your way.... Make sure to warn others of his negligence online. That's unacceptable.