Programming 3 (Nathan, Semester 1, 2012)
Course Content
Below you find the preliminary lecture timetable. The information you find
here will certainly change often, so please check back here regularly.
Lecture Week |
Online Reading and Exercise Material |
Example Code |
1
LectureCapture Material
Overview
Subversion
Makefiles
C Introduction
|
C Programming Tutorial
Version Control with Subversion
Make Utility Manual
|
Hello World
in C,
A simple Hello World program in C to get
you started
Objective-C,
A simple Hello World program in Objective-C to get
you started
and
C++
A simple Hello World program in C++ to get
you started
|
2
LectureCapture Material
Documentation
Advanced C
Objective-C
C++
|
C Pointers and Dynamic Memory
Objective-C Beginner's Guide
C++ Tutorial
|
ArgTest
A simple program that shows how to get command line
parameters using argc and argv
LongLine
A program that shows how to use malloc(),
free(), and realloc() to read long lines.
|
3
LectureCapture Material
OO Objective-C
OO C++
ObjC Features
C++ Features
|
Memory and Arrays in C
Objective-C OO-Programming
GNUstep Tutorial
|
BufferedReader
An example BufferedReader class,
similar to the corresponding Java class.
BufferedWriter
An example BufferedWriter` class,
similar to the corresponding Java class.
objc-stdio
A simple program that shows how to use stdio
from within Objective-C.
|
4
LectureCapture Material
Advanced ObjC
Advanced C++
|
Memory Management
Tutorial: creating iOS Applications
Creating your first iOS App
|
WordCounter (ObjC,
A simple program that shows how to count words
in Objective-C.
C++)
A simple program that shows how to count words
in C++.
Factorise (ObjC,
A simple program that shows how to factorise numbers
in Objective-C.
C++)
A simple program that shows how to factorise numbers
in C++.
|
5
LectureCapture Material
Objective-C 2.0
OO Design
|
Cocoa Design Patterns
Debugging with Xcode 4
|
iOS-Calculator.zip
iOS Calculator example to demonstrate the relationship
between Model, View, and Controller.
objc-dynamic.zip
An example program that shows how to create objects
and invoke methods fully dynamically.
|
6
LectureCapture Material
Complexity Analysis
Search Algorithms
|
Debugging with GDB
(man,
info)
STL Tutorial (C++)
Debugging Part II
|
CalcProgram
An example command line program that shows how to parse
and evaluate mathematical expressions.
Calculator
A simple Calculator for the Desktop with a
Graphical User Interface (GUI).
|
7
LectureCapture Material
Sorting Algorithms
Collections
|
Interface Builder Help
Using NSIndexSet
|
|
8
LectureCapture Material
Linked Lists
|
Makefiles for Libraries
NSInvocation
|
SimpleList
A simple linked list implementation.
|
9
LectureCapture Material
Queues and Stacks
Trees
|
Wikipedia pages
on trees, binary
trees,
binary search
trees, and
tries
|
SimpleTree
A simple tree class implementation.
Infix Parser
A recursive descent parser for infix expressions.
|
10
no lecture (public holiday)
|
Wikipedia page on graphs
|
fork-example
The fork() example from the lecture.
|
11
LectureCapture Material
Graphs
|
Multithreading Programming Topics
NSThread Wiki Page
|
ThreadExample
A simple example of a class that allows to spawn a child thread
and synchronise with the main thread.
objc-threads
An illustration of how to use POSIX threads from within
Objective-C.
|
12
LectureCapture Material
Multitasking
Synchronisation
|
Guide to Interprocess Communication
|
simple-client
A simple implementation of a client.
netcalc server
A simple implementation of calculator server.
|
13
Course Review
|
Network Programming Using Internet Sockets
GNUstep Distributed Objects
ADC Intro to Distributed Objects
|
|
15
Exam
|
Past Exam Papers
|
|
Change $Date: Tue Apr 3 12:49:05 2012 +1000 $ by Rene Hexel