Help with using data from an array

Song::Song(int *notesArray, int pin)
{
    _notesArray = notesArray;
    _pin = pin;
}

also 'private' needs a ' : ' not ' " '