CIS 1500 Lecture Notes - Lecture 2: Semicolon, Instruction Set, Newline

65 views4 pages

Document Summary

Pi not required for today"s lab: code clinic / drop in schedule, chapter 1 of textbook. 2: special case considerations (allergies, etc, menu, groceries, cleanup (before, etc decorate groceries dining table cook cleanup (before and after) server invites, menu special case consideration (such as allergies) tableware (plates, cutlery) entertainment all fitting within a budget. A function is a geeky way to label a sub-problem. A program calls defined functions to do things. // main function instructions return 0; int main() { // main function instructions return 0; int main(void) { Main returns 0 to indicate that the program executed successfully. int main tells you that you must be returning an integer when the function completes. If you do not return something that is an integer, then the compiler will complain at you. You may return other integers from main(), however non-zero integers by convention indicate that the program encountered an error during run-time.

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