EECS 183 Lecture Notes - Lecture 2: Multiplication Operator, Reserved Word

58 views4 pages
EECS 183 Full Course Notes
1
EECS 183 Full Course Notes
Verified Note
1 document

Document Summary

An algorithm is a specific approach to solve a problem. Different algorithms vary in efficiency and speed. Pseudocode: an algorithm expressed in your own words. Source code: an algorithm expressed in a programming. Testing is critical you must always test your algorithms language. Condition - do different things based on a condition. #include using namespace std; int main(void) { cout << hello world! ; return 0; Return value (when 0 is returned to the os from main, it means all is good ) Insertion operator int main (void) cout << hello world << endl; return 0; send the output (print) I/o operations require including the i/o standard file from the c+ A directive that tells the preprocessor to include code of iostream library before compilation int main (void) cout << hello world! endl; return 0; All files in the c++ standard library declare all of its entities within the std namespace.

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