ECS 30 Lecture Notes - Lecture 29: C Standard Library, Object File

20 views3 pages
Lecture 29
Binary Files
Writing/reading structures
Compilation and execution
Compilation stages
- preprocessor compiler assembler linker
#defineAGE21
Preprocessor stage:
- wherever it sees AGE it will replace with the number (i.e 21)
Compiler stage:
- Gather the assembly code
Assembler
- gather the assembly and transfer to binary code (that we cant read but processor can)
* object file
Linker stage
Link file to libraries that we use (i.e lib C)
Much easier to write multi-byte
object
Binary files are very convenient
for storing big binary objects
Binary good for storage
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows page 1 of the document.
Unlock all 3 pages and 3 million more documents.

Already have an account? Log in

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