EECS 183 Lecture Notes - Lecture 1: Source Code Editor, String Literal, Reserved Word
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.