Thanks for all of your help by the way. I was beating my head against a wall far too long before I finally gave up and asked for help. Once I was put on the right path it wasn't as bad to find the...
Type: Posts; User: Gipionocheiyort
Thanks for all of your help by the way. I was beating my head against a wall far too long before I finally gave up and asked for help. Once I was put on the right path it wasn't as bad to find the...
I finally got it. I had up and down messed up for my coordinates so everything was going nuts.
Here is the code if anyone cares.
#include <iostream>
#include <ctime>
#include <string>
I think so far we can call this terminal programmer error on my part....I just realized that I've had my coordinates mixed up all along. (y for x and x for y) I'm not sure if that's what's causing...
That doesn't even seem to be the issue anymore...the program is hanging indefinately now. For some reason it isn't working it's way through the maze like I expected it to....I can't seem to find why...
Ok I commented out any reference to the movehistory array and the program just hangs now instead of crashing. I think what's happening is that the maze isn't ending so the movehistory array was...
I ran it a few more times and it seems like moveleft only fails sometimes. Other times it fails on moveright. This makes sense since the program looks at the maze to decide what to do.....but I...
After looking through that I'm guessing there is something wrong with my moveleft function...I'll start there to find where the issue is
When I debug and I look at the call stack I get the below info..is that what you were talking about?
> msvcr80d.dll!memcpy(unsigned char * dst=0xcccccccc, unsigned char * src=0x00418824,...
I actually don't think I how to do that....when I run it in debug mode I get the unhandled exception that I listed before and the program breaks on line 324 of memcpy.asm (no idea what that file is).
The teacher asked for arrays so I'm afraid I'm stuck there. Thanks for the tip though. Now that I know what it is I have a better chance of finding where it is.
I'm doing a school assignment where I have to randomly generate a maze, solve the maze, and print out the steps I took to solve it. I think I'm pretty close to solving it but when I run my program...
Thanks for the reply!
Here is the full error:
error LNK2019: unresolved external symbol "public: __thiscall Employee::Employee(void)" (??0Employee@@QAE@XZ) referenced in function "public:...
I'm doing an assignment for a C++ class and I'm having some serious issues understanding the topic. The assignment was to make a class called Employee..then make a class called Payroll that is...