hi i need to translate my code from java to c++ and researched that vector is the replacement for arraylist. however i have no idea how to go about with it. Below is the initialisation and implementation for questionn array.
ArrayList<Question> questionList = new ArrayList<Question>();
ArrayList<Question> answeredQuestionList = new ArrayList<Question>();