I've been trying to figure this out for the past 6 hours. When you run this program, lander.exe, (you may download it at http://jprotege.com/c2) in dos with the command line "lander.exe sonic 100", the program outputs text, but does not output the O's . I believe a function is not being called properly in lander.cpp
I believe the problem is in lander.cpp
What can I add to my code to make the O's output onto the screen when I run the lander.exe in dos?
My project is this:
You have to produce a program that automatically navigates a lunar module lander down an increasingly narrow canyon in the lunar surface. Note that this means that there is no interactive keyboard input, and the lander moves entirely under program control. The progress of the lander is output in the following format, with the canyon walls represented by the "O" character and the landing pod by"V"
Thank You