Converting Java to C++
<p>I'm new to C++ so I'm having trouble converting this into C++. Is there examples that I could see how a C++ arraylist looks. I know java has several classes that can be made but in C++ how would that be made would it be all under one .cpp file.</p>

<pre><code>public class Main {
 public static void main(String[] args) {

    Inventory netFlix = new Inventory();

    netFlix.add( "Prince of Persia",     140);
    netFlix.add( "Clash of Titans",      223);
    netFlix.add( "Avatar",               353);
    netFlix.add( "Inception",            460);
    netFlix.add( "Resident Evil",        105);
    netFlix.add( "Devil",                624);
    netFlix.add( "Memento",              117);
    netFlix.add( "D2: The Mighty Ducks", 508);
    netFlix.add( "The Lord of the Rings",910);
    netFlix.add( "The Uninvited",        120);
</code></pre>
