CSC240::Introduction to Different Programming Languages, Fall 2017
(using C++, Lisp, Prolog)

[csc240 AZ license plate]

Assignments | Code | Handouts/Syllabus | Resources | Office Times | Email Me

#FinalAssessment: Monday, 11 December 2017, at 5:45pm.
  WEEK#   WEEKLY LECTURE NOTES -- DESCRIPTION
Eight8 Continue with C++ classes (user defined types [C++ only]). Begin learning about Lisp. Assignment(s): #midterm Code string.cpp | string2.cpp | stats2.cpp | stats3.cpp | stats4.cpp
Seven7 Finish a journey thru the STDC Libary. Introduction to classes (abstract data types/user defined types). Assignment(s): #cstrings and #carcdr Code stringio.cpp | Time.cpp | Dog.cpp | Dog2.cpp | friend.cpp | mkpasswd.cpp
Six6 Continue with arrays and pointers. Continue with recursion. A journey through the STDC Library. Assignment(s): #PadovanSequence Code ArrayEG.cpp | pointer1.cpp | cmdline.cpp | BingoCard.cpp | temps.cpp | power.cpp | printld.cpp | fibonacci.cpp
Five5 Continue with arrays and pointers. Dynamic memory allocation. Recursion. Revisit null terminated array of characters. Assignment(s): #RecursiveReverse and #stats1 Code scope.cpp | ArithOps.cpp | alloc.cpp | realloc.c | factorial.cpp
Four4 Continue learning about C++. Functions (lifetime & visibility of variables, overloading, reference parameters). Arrays and pointers. Assignment(s): #stats0 Code funcs0.cpp | funcs1.cpp | funcs2.cpp | funcs3.cpp | refparams.cpp | funcs4.cpp | scope.c
Three3 Continue learning about C++. Precedence and associativity. Relational operators The if statement. Logical operators. Repetition control statements (looping). Functions. Assignment(s): #squares Code Expressions0.cpp | Expressions1.cpp | Expressions2.cpp | Expressions3.cpp | RelationalOps.cpp | LogicalOps.cpp | Age0.cpp | Age1.cpp | Age2.cpp | NewAge.cpp | ifcode.cpp | Adder.cpp | DoAdder.cpp | ForAdder.cpp
Two2 Continue learning about C++. Variables, Identifiers and Keywords. About the cout object. About the cin object. Quickie on escape sequences. Primitive data types. Using constants. An overview on arithmetic operators. Assignment(s): #ArithOps Code io.cpp | Limits.cpp | isspace.cpp | RandomInts.cpp | PrimitiveTypes.cpp | Constants.cpp | ArithOps.cpp | itofi.cpp | Expressions0.cpp | Expressions1.cpp | Expressions2.cpp | Expressions3.cpp | RelationalOps.cpp | LogicalOps.cpp | Age0.cpp | Age1.cpp | Age2.cpp | NewAge.cpp | ifcode.cpp | Adder.cpp | DoAdder.cpp | ForAdder.cpp
One1 Review the syllabus. Begin learning about C++ (and C) assuming Java knowledge. Assignment(s): #email and #bwk and #MakeHelloWorld and #Knuth Handout(s): CSC240 Syllabus and About CSC240 and How To Submit Assignments Code: helloworld.c | HelloWorld.cpp | HelloWorld2.cpp | { preproc.cpp | preproc0.h | preproc1.h } C++Template.txt | BadHelloWorld.cpp | LongStringLiteral.cpp
Zero0 Start date: Wednesday, 6 September 2017.