COMPTNG 10A Lecture Notes - Lecture 3: Compiled Language, Semicolon

75 views3 pages
14 Sep 2017
School
Professor

Document Summary

Tells main points that needs to be written. Compilation has 4 stages: preprocessing, compilation (within compilation, assembling, linking. Convenient vs speed: easy to learn, slower because takes time. More (cid:862)produ(cid:272)ti(cid:448)e(cid:863) if (cid:455)ou (cid:449)rite i(cid:374) p(cid:455)tho(cid:374: you can write the same (but slower for the product) application much faster in human hours. Convenient vs speed: not convenient very difficult to learn (product is) fast, good for video games. Have to be written one at a time. The preprocessor handles the preprocessor directives and then hands them to the compiler. Does(cid:374)(cid:859)t look at (cid:858);(cid:859) a(cid:374)d rules of (cid:272)++. Has its o(cid:449)(cid:374) rules to pro(cid:272)ess these dire(cid:272)ti(cid:448)es. Right click one of the includes and you can see what that specific include has for its code. Preprocessor copies and pastes the file from the includes to the program and its compiler. But double is more accurate because it is slower and larger. For most part, no need to use #define.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers
Class+
$8 USD/m
Billed $96 USD annually
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
30 Verified Answers

Related Documents