EECS 280 Lecture Notes - Lecture 1: Call Stack

49 views4 pages
30 Sep 2018
School
Course
Professor

Document Summary

Machines make a physical location where they store information; like in the code. There is an actual location, a transistor, with that information in the machine. Variable = refers to an object in memory. Scope = the area of code where it can be used. Declaration = introduces a name and begins a scope. Object = piece of data in memory; it lives in an address. Types of storage duration in c++: static, automatic and dynamic. Variables are different from objects. (check table in lecture slide, lecture 1). Operations in c++ work with values of objects in memory; setting "equal to" means ma. When we use an object in reference, we give it another name. Int x = 24; int z = 4; Int &y = x; //this is just saying that x and y both refer to the value 24. So far: x and y = 24, and z = 4.

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