Recalling the Tape

If you run the program and open the resulting tape file, you'll see exactly what you entered during your session. The next stage is to get the calculator to read in the tape at startup and perform those commands as if you had typed them.

main.cpp is the only module affected by this next stage.

Get SAMS Teach Yourself C++ in 10 Minutes SECOND EDITION now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.