I am doubtful in an issue. The following is the statement:
Implement a library control system with functions to register, query, change, and remove books.
The attributes of a book are:
- Name (Book title, with spaces)
- Author (Full name with spaces)
- ISBN (11 digit number)
- Volume (Roman numeral)
- Date
- Publisher (Text with space)
- Number of Pages (Integer)
And the struct I created for this problem was this:
struct informacoes
{
char nome[100];
char autor[100];
long long int isbn;
char volume[10];
int data;
char editora[100];
int paginas;
};
I would like to know how to pass a vector of this struct as a parameter to a function, can anyone help me?