ok ti ringrazio, scusa ti faccio l ultima domanda:

nell esempio che mi hai fatto te c'è un array di char, se io invece volessi un vector (delle librerie stl)?

vector<int> newVector; ?