1:32pm.
(You'll need to position the components separately.)
gdb, since
gdb allows you to change the values of variables
while running a program, without changing the program! To do
this,
gdb
gdb
gdb's
set command.
set expressionFor expression, you can use any C++ expression.
In this case, a useful expression would add, say,
60 * 60 * 12 seconds to the time to make your program
think its 12 hours later. (If you have troubles doing this, ask!)
This technique is a good one for debugging code, since you don't have to actually change the code to test it. Were you to change the code to (temporarily) hardwire a time, you might forget to fix it up again later.
For this part, you need to recall how to use the inverse of the
tan function,