Devi usare il costruttore.
codice:vector <person> persone. for ( ... ) { // acquisizione dati. persone.push_back(person(nome,eta)); }
Devi usare il costruttore.
codice:vector <person> persone. for ( ... ) { // acquisizione dati. persone.push_back(person(nome,eta)); }
This code and information is provided "as is" without warranty of any kind, either expressed
or implied, including but not limited to the implied warranties of merchantability and/or
fitness for a particular purpose.