Monday, October 13, 2014

Vectors v Arrays 10/14

     Vectors and arrays are similar in that they both store data which can be accessed by indexes of the array or vector. The main difference in C++ between vectors and arrays are that you can add elements to a vector where as you can not change the size of an array. Vectors also come with many other methods which can be used to alter the vector where as Arrays do not. Vectors are comparable to Arraylists in Java.
     I think the class is going fairly well. I like the idea of researching certain topics and presenting to the class. The effectiveness of this will become more apparent as we get to the harder topics. I need to get a project to work on for when I finish the labs in order to stay occupied and focused.

No comments:

Post a Comment