Corretto: c'è però un problema che mi affligge nella funzione MPWD::genSource(const string *).
In pratica non riesco a dereferenziare il puntatore con un offset/indice.
Ad esempio:
codice:
cout<< *sourcePtr << endl; //funge
cout << *(sourcePtr + 5) << endl; //non funge
cout << sourcePtr[5] << endl //non funge
perché?