CS256   C++ Programming

Course Information

Meetings:TTh: 1:00 PM - 2:50 PM (Room 8/52)
Professor: Amar Raheja
Voice:(909) 869 4412
Office:Building 8, Room 10
Office hours:W: 10am-12pm ; 2:00pm-4:00pm .


Data types, expressions, control structures, functions, file and stream I/O. Use of pointers and dynamic storage allocation. Structured and abstract data types. Class encapsulation, inheritance, polymorphism, templates and exception handling. Problem solving and testing techniques. 4 lectures/problem solving. Prerequisite: CS 141 with a grade of C or better, or consent of instructor.
Detailed Syllabus

Announcements and Handouts

    How to compile C/C++ programs  
    Some Example Code   

Lecture Notes

Notes are in Acrobat pdf format


     Late assignments are not encouraged. With every day your assignment/project is late, you loose 15% of your assignment grade. If you cannot complete an assignment by the due date, then submit whatever you have completed. For all assignments, partial credit will be given for reasonable partial solutions.
     I encourage discussion among students, however, I expect that you hand in your original work, i.e. you should write your own program.Co-operative work and assignments will be regarded as academic dishonesty. Please protect your own work against copying. Two students with identical or similar work/codes will be both given an F, irrespective of who did the original work.
     There will be no make-ups or rescheduling of exams for individual cases.
     The pattern and content of the exam will be discussed in a regular class session before the exam. I will answer questions about the exam coverage only during a regular class session and not on an individual basis.
     All exams and quizzes are closed book.
     Regular attendance is expected. In the event of an absence, it is the studentís responsibility to learn any material missed. Lectures will not be repeated during office hours.
     Itís the studentís responsibility to pick up the projects/tests, if not claimed on the return day.

Labs and Projects

Always bring the course textbook to the lab

Required Text

Starting out with C++: From Control Structures through Objects, 8th Edition
By Gaddis
ISBN: 978-0-13-376939-5 Pearson, 2012

Recommended Supplemental Texts

Cohoon and Davidson, C++ program design- An introduction to Programming and Object-Oriented design, Mc-Graw Hill, Third Edition, 2002

Stroustrup, Bjarne, The C++ Programing Language, Second Edition, Addison-Wesley, 1995

Web Links