Presentation is loading. Please wait.

Presentation is loading. Please wait.

Library Functions Goals of software engineering reliable code

Similar presentations


Presentation on theme: "Library Functions Goals of software engineering reliable code"— Presentation transcript:

1 Library Functions Goals of software engineering reliable code
accomplished by code reuse C++ promotes code reuse with predefined classes and functions in the standard library

2 C++ cmath Library Typical mathematical functions
e.g. sqrt, sin, cos, log Function use in an assignment statement y = sqrt(x); Function call Function name Function argument

3 Example: sqrt Function
Function sqrt as a “black box” Square root function X is 16.0 Result is 4.0

4 Some Mathematical Library Functions

5 Some Mathematical Library Functions (continued)


Download ppt "Library Functions Goals of software engineering reliable code"

Similar presentations


Ads by Google