79_pdfsam_cs2022_lectures - add break points, step through...

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

View Full Document Right Arrow Icon
Const Error due to declarations of a, b. int f(int &a); int compare2(int a, int b); int compare1 ( , ){ return compare2(f(a),f(b)); } int f ( ){ ... some function . .. }
Background image of page 1

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

View Full DocumentRight Arrow Icon
Type overloading, default values Overloading: Behavior depends on input Default values allowed in C++ int sum(int a, int b); double sum(double a, double b); int sum(int a, int b, int c=0); ... d=sum(1,2); ...
Background image of page 2
Omitted topics goto Debugging programming environment dependent
Background image of page 3

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

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

Unformatted text preview: add break points, step through code, monitor variables, etc. .. Stacks Nested functions are tracked using stacks. Programmer doesn't have to worry about this. Review of class Basic C syntax: scanf, printf, loops, if . .. else, switch, . .. Concepts (somewhat) particular to C: pointers strings memory management structures and pointers to structures Linked lists. preprocessor...
View Full Document

This note was uploaded on 01/10/2010 for the course CS 2022 at Cornell University (Engineering School).

Page1 / 4

79_pdfsam_cs2022_lectures - add break points, step through...

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

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