EECS 183 Lecture Notes - Lecture 3: Chartered Mathematician

50 views3 pages
EECS 183 Full Course Notes
1
EECS 183 Full Course Notes
Verified Note
1 document

Document Summary

Max size of an int little over 2 billion. If the value is larger, the compiler will warn you to prevent spillage or overflow from happening. A function is a list of statements that can be executed by referring to the function"s name. An input value to the function appears between () The function executes and returns a new value. Examples: cout << hello world! << endl; cout << c++ is amazing ; The extraction operator >> skips over ignores leading whitespace characters o o o spaces tabs new lines: actually it reads but does not store anywhere. Converts chars read to the expected datatype. Stops reading when it hits a char that is not acceptable to the datatype it"s looking for cin enters fail state when datatype of value read doesn"t match datatype of variable. Critical to understand: no reading takes place again until cleared.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents