/dynamic-array

Array that doubles in size when it reaches capacity

Primary LanguageC++


About

Dynamic array that allocates a new array with twice the original space when it reaches capacity. Copies the existing array elements into the new array. Frees space from the old array, and assigns new values to the data members.


Configuration

Recommended Operating System: Linux


Operating Instructions

  1. Make the file utilising makefile *make

  2. Run the program with the class test

    • ./vec_class_test

File manifest

Includes README.md, makefile, Vec.h, Vec.cc, vec_class_test.cc


Copyright and Licensing information

makefile, Vec.h, Vec.cc, and vec_class_test.cc are public domain software - free and open source


Queries

For any queries please contact Jon Peppinck at mrjonpeppinck@gmail.com