eecs 233 hw1a

eecs 233 hw1a - The actual application reads two integers...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
EECS 233 / Summer 2006 Homework 1a Design Document Benjamin Horstman The assignment was to write several C++ functions which operated on integer pointers. As I am a Java student, this assignment was optional extra credit. It compiles as a console application using MS VC++ 2005 Express Edition. My implementation uses a class a1a ( assignment 1 part a ) which contains two private member variables, both of which are integer pointers. The class implements the member functions required to perform the operations requested in the homework.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: The actual application reads two integers from the keyboard. These are NOT CHECKED in anyway; passing non-integers causes weird buffer issues and makes the second cin >> command get skipped. Similar issues occur if large integer values are input. After input, a new object of class a1a is instantiated with the stored integers. Finally, the required operations are performed by the member functions of class a1a and the result is printed to cout after every function call....
View Full Document

This note was uploaded on 05/09/2008 for the course EECS 233 taught by Professor Rabinovich during the Spring '08 term at Case Western.

Ask a homework question - tutors are online