1 / 16

Pavel Govyadinov, University of Oregon

dian
Download Presentation

Pavel Govyadinov, University of Oregon

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. CIS 330: _ _ _ _ ______ _ _____ / / / /___ (_) __ ____ _____ ____/ / / ____/ _/_/ ____/__ __ / / / / __ \/ / |/_/ / __ `/ __ \/ __ / / / _/_// / __/ /___/ /_ / /_/ / / / / /> < / /_/ / / / / /_/ / / /____/_/ / /__/_ __/_ __/ \____/_/ /_/_/_/|_| \__,_/_/ /_/\__,_/ \____/_/ \____//_/ /_/ Review: Review. Pavel Govyadinov, University of Oregon June 6th, 2014

  2. Know your Enemy: Need to Know • Vocabulary. • Make sure you know your pointers from your references. • Debug. • Know how to find errors and what causes them. • What is a segfault? What causes it? Can you find one by reading the code? • Malloc/free, new/delete? • Track Program Execution. • Know the output. • Unix. • Know you commands (basic)—No vi/vim.

  3. Know your enemy: Types of Questions. • Vocabulary. • Here is a hierarchy. Write some code (inheritance). • Debug. • Here is some code. There is a bug. Find the bug. • Track Program Execution. • Here is some code. Here are some print statements. What will print? • Unix.

  4. Questions? Concerns? Comments?

  5. Review: Here is some code6… 2 errors.

  6. Review: Here is some code6… 2 errors.

  7. Review: Here is some code1… 5 errors.

  8. Review: Here is some code1… 5 errors.

  9. Review: Here is some code2… 3 errors.

  10. Review: Here is some code2… 3 errors.

  11. Review: Here is some code3… 5 errors.

  12. Review: Here is some code3… 5 errors.

  13. Review: Here is some code4… 4 errors.

  14. Review: Here is some code4… 4 errors.

  15. Review: Here is some code5… 3 errors.

  16. Review: Here is some code5… 3 errors.

More Related