CSE 15 Lecture Notes - Lecture 2: Java Virtual Machine, Bracket, Git

44 views7 pages
School
Course
Professor

Document Summary

What is git: a source-code control system, how it works, write code, hand it to git, git stores it, you work on code some more, break it, git will give you old code back. What is a compiler: programs execute machine language, not a programming language, programming language use gcc to make assembly (. s) files, something humans can read, take bits and add them up to make something. o files are binary: assembly code turns into ld a. out ld files take . o files and connects them together to make a program. Libraries: shorthand for longer pieces of code, ex: sin(x), cos(x), print, etc. c files: ccp/cc files, actual code programs that do stuff. h files: stands for header files, declarations. Inside files are declarations, important one is int main(: must be integer function because it"s a function that returns something, 0 is if it executes successful, any other number if it isn"t successful (or -1)

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