This one is really stumping me. Inside this while loop there are a few cout statements which should print something to the screen. Right now the loop is infinite for testing but that is not the issue. while loop snippet below
The weird thing is I know the program is taking the last line because the screen is being cleared, but still nothing is being printed to the screen. It is just an infinite blank screen. It should print something because accx is initialized to 0.