1
I am doubtful on a question. Follow 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 (Date)
- Publisher (Text with space)
- Number of Pages (Whole Number)
And the struct that 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 wonder how to pass a vector of this struct as a function parameter, someone can help me?
There’s a code you’re making for us to see where you’re having trouble?
– Maniero
I do, but, this problem has been solved, the doubt I have left is about the question of strings, I can not read the strings of the code register function I will pass next
– Luiz Campos
@Luizcampos so your doubt is now another? Another question, better another question, no?
– Jefferson Quesado
It’s true, I’ll post another question
– Luiz Campos