Hw2 - COP 3530 Fall 2010 Data Structures and Algorithms Assignment 2 Due The purpose of this assignment is to get you a feel of programming in C as

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
COP 3530 Fall 2010 Data Structures and Algorithms Assignment 2 Due: Sep 13, 2010 The purpose of this assignment is to get you a feel of programming in C++ as well as test you on your understanding of the course material covered in class so far. The main 3 points we shall be covering are: 1) Implementing Array based Linear Lists 2) Understanding usage and advantages of makefiles / make utility in UNIX/Linux 3) Usage of templates and generics in C++ 4) Usage of header files and libraries A header file or library is basically a normal C++ source file with one important difference from your cpp files. A header file contains no main() function and hence cannot be compiled into an executable program. Its sole purpose is to provide a library (like stdio.h) for other programs to use so that programmers do not have to reinvent the wheel and write code from scratch. You will be making a header file of your own that you will later on keep updating and extending throughout the duration of the course with upcoming assignments thus building up your own self implemented library for data structures. Thus you shall not need to recode entire data structures that you might need later for some assignments. Part I – 50 points In first part of this assignment you are required to first create your own header file “ myDataStruct.h which for now shall contain only one class namely the “ ArrayLinearList ” class. In this you shall declare an Array based Linear List that shall allow the creation of a Linear List of a user input size with an upper
Background image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

This note was uploaded on 01/15/2012 for the course COP 3530 taught by Professor Davis during the Summer '08 term at University of Florida.

Page1 / 4

Hw2 - COP 3530 Fall 2010 Data Structures and Algorithms Assignment 2 Due The purpose of this assignment is to get you a feel of programming in C as

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online