© 2010 Pearson Addison-Wesley. All rights reserved. Addison Wesley is an imprint of Chapter 13: Programming in the Large Problem Solving & Program Design in C Sixth Edition By Jeri R. Hanly & Elliot B. Koffman
1-2 © 2010 Pearson Addison-Wesley. All rights reserved. 1-2 Figure 13.1 Preparing a Program for Execution
1-3 © 2010 Pearson Addison-Wesley. All rights reserved. 1-3 Figure 13.2 Header File planet.h for Personal Library with Data Type and Associated Functions
1-4 © 2010 Pearson Addison-Wesley. All rights reserved. 1-4 Figure 13.2 Header File planet.h for Personal Library with Data Type and Associated Functions
1-5 © 2010 Pearson Addison-Wesley. All rights reserved. 1-5 Figure 13.3 Portion of Program That Uses Functions from a Personal Library
1-6 © 2010 Pearson Addison-Wesley. All rights reserved. 1-6 Figure 13.4 Implementation File planet.c Containing Library with Planet Data Type and Operators
1-7 © 2010 Pearson Addison-Wesley. All rights reserved. 1-7 Figure 13.4 Implementation File planet.c Containing Library with Planet Data Type and Operators (cont’d)
1-8 © 2010 Pearson Addison-Wesley. All rights reserved. 1-8 Figure 13.5 Storage Classes auto and extern as Previously Seen
1-9 © 2010 Pearson Addison-Wesley. All rights reserved. 1-9 Figure 13.5 Storage Classes auto and extern as Previously Seen (cont’d)
1-10 © 2010 Pearson Addison-Wesley. All rights reserved Figure 13.6 Declaration of a Global Variable
1-11 © 2010 Pearson Addison-Wesley. All rights reserved Figure 13.7 Use of Variables of Storage Class extern
1-12 © 2010 Pearson Addison-Wesley. All rights reserved Figure 13.8 Function factorial with Premature Exit on Negative Data
1-13 © 2010 Pearson Addison-Wesley. All rights reserved Figure 13.9 Conditional Compilation of Tracing printf Calls
1-14 © 2010 Pearson Addison-Wesley. All rights reserved Figure Conditional Compilation of Tracing printf Calls
1-15 © 2010 Pearson Addison-Wesley. All rights reserved Figure Header File That Protects Itself from Effects of Duplicate Inclusion
1-16 © 2010 Pearson Addison-Wesley. All rights reserved Figure Header File That Protects Itself from Effects of Duplicate Inclusion (cont’d)
1-17 © 2010 Pearson Addison-Wesley. All rights reserved Figure Header File That Protects Itself from Effects of Duplicate Inclusion (cont’d)
1-18 © 2010 Pearson Addison-Wesley. All rights reserved Figure File Backup Using Arguments to Function main
1-19 © 2010 Pearson Addison-Wesley. All rights reserved Figure Program Using a Macro with Formal Parameters
1-20 © 2010 Pearson Addison-Wesley. All rights reserved Figure Macro Expansion of Second Macro Call of Program in Fig
1-21 © 2010 Pearson Addison-Wesley. All rights reserved Figure Macro Calls Showing Importance of Parentheses in Macro Body
1-22 © 2010 Pearson Addison-Wesley. All rights reserved Figure Macro Calls Showing Importance of Parentheses in Macro Body (cont’d)
1-23 © 2010 Pearson Addison-Wesley. All rights reserved Figure Macro Expansions of Macro Calls from Fig