Download presentation
Presentation is loading. Please wait.
Published byAubrey Booker Modified over 6 years ago
1
Lab 7 Instructions You can use g++ on build server, visual studio on local machine or your preferred C++ IDE. Important Note: For your grade, please show me the result after you finish all the tasks. Make-Up Policies: If you cannot finish the drill in the lab, you can go back to work on it. You can send me (including result screenshot and source code) or show me in next lab.
2
Drill Request: Download the first version of calculator program as file calculator00.cpp. Get it run and try it out. Follow instructions from page (Chapter 6.6 – Chapter 6.9). Expected Output as shown in page 209 (at the end of Chapter 6.8) of textbook: 2; =2 2+3; =5 3+4*5; =23
3
Token_stream Class Token_stream{ public: Token_stream(): full(false), buffer(0){} Token get(); void putback(Token t) private: bool full; Token buffer; } You should also implement get() and putback() functions as in the book.
Similar presentations
© 2025 SlidePlayer.com. Inc.
All rights reserved.