COM SCI 31 Lecture Notes - Lecture 4: Standard Streams

35 views2 pages
21 Nov 2017
School

Document Summary

//ints can hold numbers from -2 billi to 2 billi. << endl: libraries are additional code that can be used by the program to perform added functionality. Input and output is not part of the og language -- it is contained in a library. The standard library for cs contains the io and many other things in the language. To include an element from a library, you use the #include keyword. ambiguities between libraries are always caught during compilation, The namespace std contains the names for the various variables and keywords in the standard library. Declaration: type identifier; or type identifier = ; If you do not specify the value of a variable, it is not initialized to zero, it is initialized to some garbage value based on the current memory location. An identifier has to start with a letter, followed by 0 or more letters, digits, or underscores.

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