#include <iostream>
#include <string.h>
using namespace std;
class Film
{
public:
Film(string nume, string actor_pr, string actor_sec):n(nume), ap(actor_pr), as(actor_sec){}
void Afisare()
{
cout<<"Nume film: "<<n<<"\n"<<"Actor principal: "<<ap<<"\n"<<"Actor secundar: "<<as<<"\n";
}
private:
string n, ap, as;
};
int main()
{
Film starwars("Star Wars","Luke Skywalker", "Darth Vader");
Film gladiator("Gladiator","Maximus", "Commodus");
Film titanic("Titanic","Kate Winslet","Jack Dawson");
starwars.Afisare();
cout<<"\n";
gladiator.Afisare();
cout<<"\n";
titanic.Afisare();
return 0;
}