EECS 280 Lecture Notes - Lecture 4: Microsoft Dynamics Ax, Sizeof, Type Qualifier

37 views12 pages
30 Sep 2018
School
Course
Professor

Document Summary

Objects are stored in memory, which is a bunch of storage locations with an address from 0 to a very large number. They can be broken up into strings of 4 numbers called nibbles. Take each 4bit group as a value from 0-15. In decimal: there"s one 2^0, so that"s = 1. There"s no 2^2, but there is a 2^3 = 8. etc . For hex, check how many times 16 fits in 165. 10 times, and there"s five leftover; so the answer is a5. When we initialize a variable, we copy the value from one object to another. To get the address of a variable, we use: &x. When & is next to a type, we have a variable whose type is referenced to some other type: ex. Int &r =x; // r is a different variable that refers to the same object. Because of this, r is just another name for x, which is 3.

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