EECS 183 Lecture Notes - Lecture 1: Source Code Editor, String Literal, Reserved Word

103 views5 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. Ex: finding a certain page in a book. Different algorithms vary in efficiency and speed. By halving the problem each time, we vastly improved the search through the book. Do different things based on a condition. Pseudo code: an algorithm expressed in your own words. Source code: an algorithm expressed in a programming language. Within ide, which translates the text you wrote in the text editor of ide and turn it into object code (machine code aka binary), which then the computer interprets. Program begins at the main function line (int main () {) The void part means that the function doesn"t take any parameters. Return ends the program, and goes back to the os, where the function was. When 0 is returned to the os from main, it means all is called from. good. ) Return type is integer, so the return value must match the type.

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