C++ Homework for Week 1.  



Be prepared to demonstrate this program for your TA in your designated tutorial slot in week 2.

This program is intended to familiarize yourselves with programming with arrays and linked lists.

Using the c++ random number generator rand to generate 25 random integers in the range 0..RAND_MAX. Note you will need to use <cstdlib>.
Store these numbers in an array, and then in a linked list. Also provide a method to print out all of the elements of the array or linked list.
 

Posted: Wed - December 20, 2006 at 11:24 AM          


©