Computer Science 2211A/B Lecture Notes - Lecture 15: Include Directive, Operand

70 views1 pages

Document Summary

One source file must contain function main. Push numbers on stack until operand, then pop and perform. #include // files belonging to c"s library. Can use -i path to change where to search. Or use directory path to specify it (ues . Sharing variable declarations extern declares a variable without defining it extern int i; // tells compiler i is defined elsewhere, no need to allocate space. Including same header file twice does not always cause error. If the file only contains macros/prototypes/variable declarations, no error. But if it contains definitions, it will.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents