L06_Header_Files - EECS 183 University of Michigan Lecture...

Info iconThis preview shows pages 1–7. Sign up to view the full content.

View Full Document Right Arrow Icon
Header Files EECS 183 University of Michigan Lecture 06
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Project 3: Paint paint.cpp paint.h paint_main.cpp EECS 183 University of Michigan Lecture 06
Background image of page 2
With functions • you need • prototypes • definitions EECS 183 University of Michigan Lecture 06 int main()
Background image of page 3

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Header Files - prototypes paint.h function prototypes RME's • R: requires – conditions that must hold to use this function EECS 183 University of Michigan Lecture 06 • M: modifies – how inputs are modified, if any • E: effects – what the procedure computes given legal inputs – What does the function actually do?
Background image of page 4
definitions? • paint.cpp • this is where all the definitions of the functions that are prototyped in "paint.h" reside
Background image of page 5

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Background image of page 6
Background image of page 7
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: EECS 183 University of Michigan Lecture 06 In Visual Studio add both paint.cpp paint_main.cpp to project In paint.cpp and paint_main.cpp #include "paint.h" EECS 183 University of Michigan Lecture 06 Note: "" instead of <> Project 3 Project 3 where to start where to start understand the pieces read and understand the prototypes u will NEVER get the DON'T ASSUME EECS 183 University of Michigan Lecture 06 you will NEVER get the function correct until you understand what it 's parameters represent and what it is to do...
View Full Document

Page1 / 7

L06_Header_Files - EECS 183 University of Michigan Lecture...

This preview shows document pages 1 - 7. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online