What is wrong with that code?
It opens up xmemory file as an error when I compile it.
The problem is on the <char>vector declaration.
Code:#include <iterator>
#include <vector>
#include <algorithm>
#include <string>
#include <iostream>
using namespace std;
int main()
{
vector<string> v;
v.push_back("aaa");
v.push_back("bbb");
vector<char> cv(v.begin(), v.end());
cout << "Size " << cv.size() << endl;