1 / 13

Midterm Review

Midterm Review. EECE 351 Spring 2000 Lecture # 9. Compiling. Only affects ACTIVE file Checks syntax of file. If successful, .cpp (source code) Converted into .obj (intermediate file) Otherwise: Syntax ERRORS! Double-click takes you to line with error F-1 Help. Building.

juana
Download Presentation

Midterm Review

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. Midterm Review EECE 351 Spring 2000 Lecture # 9 EECE 351 – Lecture 9

  2. Compiling • Only affects ACTIVE file • Checks syntax of file. If successful, • .cpp (source code) • Converted into • .obj (intermediate file) • Otherwise: • Syntax ERRORS! • Double-click takes you to line with error • F-1 Help EECE 351 – Lecture 9

  3. Building • Affects ALL files in Project • If *.obj is not up-to-date, compile *.cpp • ALL “.obj”s • Converted to • ONE .exe • Linking Errors • F1 Help EECE 351 – Lecture 9

  4. Microsoft Visual Studio 6.0 • You should know about certain toolbars by the time you get out of this class. • I recommend knowing 1 by the midterm. Here are your two options: • Build • Debug EECE 351 – Lecture 9

  5. Control Structures • true && false • if, elseif, else • switch/case • for • while && do/while • Syntax errors && Semantic errors EECE 351 – Lecture 9

  6. Functions • Functions consist of three parts • Prototype – Tells compiler about what function returns and needs to operate. • Definition – Tells compiler what the function does. • Call – Used to start the function. • Call by reference && call by value EECE 351 – Lecture 9

  7. Arrays & Pointers • Know • How to declare • [] * • How to use • [] * & • Errors that might occur • NULL, out-of-bounds, etc. • Dynamic Allocation will be on there EECE 351 – Lecture 9

  8. I/O • Out of the two, go with the Input • C++ streams make it easy • I would strongly encourage you to study the C++ input streams. File & console EECE 351 – Lecture 9

  9. Format • T || F – 5 Questions (10pts) (60% SE) • Short Answer – 5 Questions (15pts) • Fill In the blank • Short Response – No more than 5 words. • (60% SE) • Errors – 2 Questions (20pts) • 5 Syntax & 5 Semantic • 1pt/ Line, 1pt/ Correction • Discussion – 2 Questions (10pts) • 1 MMM • 1 MS Visual 6.0 EECE 351 – Lecture 9

  10. Format • Reading – 3 Questions (15pts) • Output • What it is supposed to do • Writing – 3 Questions (30pts) • 2 segments • 1 full program EECE 351 – Lecture 9

  11. 5 Qs • Where? • 3C01 – Right across from my office • Top floor • Between the B & D Wings. (Right in the middle/back of Swearingen) • When? • 9:30 – 10:45am Feb 15. • Why? • See how well of a job I have done • chance to re-evaluate your action plan EECE 351 – Lecture 9

  12. 5 Qs • How to succeed? • Get a good nights sleep • Eat a good breakfast • Study • Labs • MMM – Chap 18 • D&D – CS through SRE (Already answered) • Start with the easiest. • Check over when finished • Don’t double guess yourself – 90% you’re right EECE 351 – Lecture 9

  13. The remaining question(s) . • Up to You! ASK NOW!!!!!!! EECE 351 – Lecture 9

More Related