When I step through my program using VS13 debugger it works correctly but when I let the program run on its own it only outputs my 'x' to the console completely leaving out my '*'. I am making 'tron' using only console and conio.h header. I think it has to do with how I am pointing to my class or something? I am still new with pointers and HANDLE,COORD,SetConsoleCursorPosition() so please tell me what I am doing incorrectly I know it has to do with something simple that I overlooked. ie. structure,pointer need destroy? etc..
Only the code being executed at this time of my program is shown.
It worked when I debugged and stepped the program because the system time seed for srand() was delayed enough to move the cursor to a different location.
When I ran the program without stepping it didn't have enough delay.
Simply put a Sleep(1000); so that the system clock changed time to create a new seed. -.-