I am using emacs 24.1.1 and bzr version of cedet. This may have been discussed before (went through other discussions which didn't help me with the configuration), but I want to know what is the minimal configuration needed that would do autocompletion for a simple C++ program:

#include <iostream>
#include <vector>
#include <string>

using namespace std;

int main()
    string s;
    vector<string> vs;
    vs.          // I need autocompletion (drop-down list preferable) at this point.


I need all the member functions of vector to be displayed in a drop-down list.

Please let me know.