This is about C++ (can also be done in C if it works!)
I'm looking for someone who can make the following program in a void handleMovement() method.
#define OBSTACLE_HEIGHT 20
#define OBSTACLE_WIDTH 10
#define PEOPLE_COUNT 100
static person people;
Basically, these "people" must move from their current x and y to their destination x and y (to move them, simply change the current_x and current_y by one).
They *cannot* move diagonally. Any way is fine. Just not diagonally.
If there is an obstacle in their path, they must walk around it and find another way.
You can use a for loop like this:
for(int i = 0; i < PEOPLE_COUNT; i++)
person[i].x++; // move one pixel to the right
19 pekerja bebas membida secara purata $65 untuk pekerjaan ini
hi... i am good at core C/C++ programming along with recursion for path finding problems like yours. please contact me as soon as possible for a discussion.
Hi, how are you. Glad to meet you. I have long experience with C++ programming. I am sure you are fully satisfied with me in this project. I hope your response.
Hi, I should be able to complete this job with ease. I like to program games and am currently learning c++. I also live in Australia, so we should be able to communicate quite easily. Thanks, Rhys