Skip to main content

Computer Science 142, Teacher: William Lund: Home

Resources and communication information for CS 142, Section 4, Introduction to Computer Programming taught by William Lund during the Fall 2014 Semester.

Lecture Slides and Code

The lecture slides and code from the class can be found in Google Drive. You do not need a logon to access these files.

Online Resources for Learning C++

There are a number of useful websites for learning C++ and for C++ reference. 

Library Reserve Resources for C++

The following books have been placed on reserve in the Lee Library. You can check out a reserve book for a limited time. The reserve collection is available at the circulation desk on the third floor (ground floor) of the library.

Hello World

A "Hello World" program is effective in determining whether you are ready to begin programming, based on the compile and code development environment you intend to use. It also is useful for looking a basic syntactical and structural differences between languages. 

More complex than the simple "Hello World" text printed above, the following site lists 1500 programs that print out the song "99 Bottles of Beer on the Wall". The value of this site is in seeing data structures, looping, and control language in each of the languages.

The following link shows the "99 Bottles of Beer on the Wall" written in a particularly degenerate form of Perl. This is perhaps the best example of extremely bad programming I am familiar with. Other more acceptable implementations in Perl are linked to from the page.

"5 Programming Languages You’ll Need Next Year (and Beyond)" is a list of upcoming computer languages. One of the most important things you can learn in this course is how to learn a computer language and the basics of all computer languages. 

Textbook Resources

The textbook for CS 142, Section 4 in the Fall 2014 semester is "C++ for Everyone" by Cay Horstman, 2nd edition, ISBN 0470927135. (A third edition is in preparation by the author but will not be used in the Fall 2014 semester.) There are several ways to get access the book.

  • BYU Store. The BYU Store carries this as a new, used, or a looseleaf book. Note that the BYU Store will not purchase back a book that was not originally purchased from them at the beginning of the term. Please see the bookstore's policies regarding returning textbooks.
  • Booklist. The university Booklist contains other ways to get the book. 
  • Amazon Kindle Rental. Amazon will rent the textbook for use with a Kindle device or with Kindle software on your tablet, laptop, or desktop computer. 
  • Library Course Reserve. Two copies of the textbook will be avalable in the Lee Library in the course reserve to be checked out for two hours at a time. This is as a convenience to the students and may not meet the needs of all students or replace the need to purchase a text book. 

There are likely other sources for the textbook. If you find a good source, please let me know and I'll include it here. 

Subject Guide

Brian Rennick's picture
Brian Rennick


I will be out of the office from September 29 through October 3. Class will be held. I will have access to email if you need to contact me.

The class schedule in this LibGuide has been deleted. Refer instead to LearningSuite which has made the different schedules between the sections visible.