CS 215 - Fundamentals of Programming II
Class Schedule: MWF 3, KC-136
Final Exam Period: Wednesday, December 12, 2:00pm-4:00pm
Grades for this course will be posted to Blackboard
These are announcements made in class or via email currently in effect
for this course.
Course information handouts
- Syllabus and Schedule (PDF)
- Comparison of C, C++ and Java (PDF)
- Very Basic Unix (PDF)
- 64-bit Ubuntu 16.04LTS VDI.
This file is a ZIP archive of a virtual disk image for VirtualBox
set up similarly to the UE Linux lab client and instructions on
how to create a VirtualBox VM from it.
- Create a new folder (e.g.
- Download/open this zipfile and extract files
virtual-box-instructions-2018-08.pdf) into the new
folder. Note that this zipfile is about 4GB. The extracted
VDI file is about 9GB and will grow larger as the system is
used to a maximum of 64GB.
- Follow the instructions to create and configure a
- VirtualBox, a virtual
machine that can be used to run Linux on Windows. Note that
hardware virualization must be enabled in the BIOS of the host
machine. (In particular, HP machines have this disabled by
Desktop install disk ISO image can be downloaded, if you need
to start from scratch (e.g., you have a 32-bit machine) and/or
want use the latest Ubuntu version (currently 18.04). Here is a
Guide. Note that the ISO image must be burned to a DVD or a
bootable USB stick to install natively. For a VirtualBox
installation, only the image file is needed.
Once the installation is completed, do the following:
- Run system updates. The easiest way to do this is from a
terminal command line, type:
$ sudo apt update
$ sudo apt upgrade
$ sudo apt autoremove
- Install the following packages: clang, ssh, git and emacs or vim. The
easiest way to do this is from a terminal command line,
$ sudo apt install clang ssh git emacs
vim if that is the desired text editor.
- git - a distributed version
Git Cheat Sheet (PDF). Template
.gitignore file for CS 215 projects.
This is a list of links to resources that may be useful in this course.
- Supplemental reading references
for C++, emacs, vi, and Unix
- Links to reference pages of C++
library classes and functions used in this course:
- Dr. Hwang's
emacs configuration file. In particular, this contains
commands to suppress the start-up screen and to change the
indenting style to 'elemtel', which is closer to the style the
- To put emacs into makefile mode type:
alum Tim Debaillie's vim configuration file. In
particular, this contains commands to make vim display TABs as
3 spaces instead of the default 8 spaces.
However, these .vimrc commands only effect how the tabs are
displayed in vi. When the tabs are printed by a2ps, the
default 8 spaces is still used. However, a2ps has a command
line option (-T#) to have it print tabs as some number of
spaces other than the default. It is used as follows to get 3
$ a2ps -T3 file1 file2 ...
Note: you only want to do this with source code files, not
- Cygwin, a UNIX environment for
Putty, a free terminal emulator for Windows that works
well for remote access to Unix boxes and using Unix
editors. Use the SSH protocol to access csserver.
- WinSCP, a free
file copying program for Windows that supports the SSH protocol.
Lectures and Assignments
This is a list of in-class exercises and assignments posted for this class
in reverse chronological order. Some may be available in hard copy