ENGR 101 Study Guide - Final Guide: C Standard Library

97 views3 pages

Document Summary

Standard math library cstdlib iostream fstream iomanip string vector. Order of precedence: not / sign change (, multiplication / division (* /, addition / subtraction (+ -) Insertion extraction (<< >>: less / greater than (< > <= >=, equal / not equal (== !=, and (&&, or (||, assignment (=) Loops for(int i=0; i=0; i--) // do stuff while(i> xpoint >> ypoint) while(getline(fin, name)) while(word. find( fun ) != word. npos) function(const vector &numbers) - pass by const reference, used for large data types (doesn"t copy all that data) and won"t change original values. Pass by value - default, does not change value of variable outside of function. Pass by reference - & changes in function are visible outside function. Global scope - when a variable is declared outside a function. Block/local scope - variable is defined within {}

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

Related Documents