==== Nick's Wiki Notes ==== **10/23/2017** - programming paradigms - structured, imperative, procedural (C) - object-oriented (C++) - functional (Prolog) - logical (Haskell) - g++ to compile C++ code in unix - Access Control - class - public - accessible to all - protected - accessible to derived classes - private - accessible to only that class **10/18/2017** - fscanf(stdin, "%d", &input); // the & makes be passed in by address not value - int fname(int *); // prototype - int x, y; - y=fname(&x); // call - void main() // does not return anything **10/16/2017** - functions or procedures To use a function: 1. declare/prototype 2. define 3. call To use a variable: 1. declare 2. initalize 3. access **10/02/2017** - make help - **09/25/2017** - Test next week - **09/20/2017** - **09/18/2017** - wemux - to see instructors screen **09/06/2017** - Our first class in the month of September - Get ones place by dividing by 10 - dow0 - 2014 - 14 - (14 * .5) * .5 = 3.5 - drop the .5 = 3 - 14 + 3 = 17 - subtract the biggest multiple of 7 - 17 - 14 = 3 - 3 = wednesday - cal 01 2014 - floor - largest integral value not greater than argument ** 09/11/2017 ** - leap year for 21st century begins with 2000 and is every 4 years - ets. 2000, 2004, 2008... -