So, I have this struct:
struct Articol
{
vector <char*> Nume;
char* Titlu;
int An;
vector <int> Pagini;
};
and this class:
class Bibliografie
{
int nr_art, nr_carti, nr_pagini;
vector <Articol> Articole;
};
and the following line of code:
cout << Object.Articole.Nume[j] << " ";
that generates this error:
error: ‘class std::vector<Articol>’ has no member named ‘Nume’
How can I fix that?