Class Notes (837,538)
Canada (510,303)
CS 137 (16)
Lecture 10

Programming Lecture 10.docx

4 Pages
62 Views
Unlock Document

Department
Computer Science
Course
CS 137
Professor
Andrew Morton
Semester
Fall

Description
Programming Lecture 10 October 16, 2012 Function Pointers  Functions can be passed as arguments o double f(double x);   double (*f)(double); Example with bisection double bisect (double a, double b, double epsilon, int maxIters, double (*f) (double)) { assert (f(a)<0.0 && f(b)>0.0 && epsilon > 0.0); double m; for (int i=0; i
More Less

Related notes for CS 137

Log In


OR

Join OneClass

Access over 10 million pages of study
documents for 1.3 million courses.

Sign up

Join to view


OR

By registering, I agree to the Terms and Privacy Policies
Already have an account?
Just a few more details

So we can recommend you notes for your school.

Reset Password

Please enter below the email address you registered with and we will send you a link to reset your password.

Add your courses

Get notes from the top students in your class.


Submit