So, I need to be able to pass a parameter used by function addElement and add that element into a dynamically allocated array. But for some reason when I am trying to add the value into the array I cannot get it to display correctly. Obviously because I'm not adding it in correctly but was hoping yall could help. Here's my code for my header and implementation files.
Peter87 yeah I ended up figuring almost everything out last night. I just had to create a private increment variable that would keep up with the location of which element in the array the function left off at last. Thanks though!!!