Yes, that is the problem, I want to complete the borrow function.
Can you help me?
regards,
grscot
Type: Posts; User: grscot
Yes, that is the problem, I want to complete the borrow function.
Can you help me?
regards,
grscot
Here is the code,
Thanks for helping me,
regards,
grscot
Dear all,
I'm still struggling to display the book and the borrower's details together.
Could someone help me?
regards,
grscot
Ok,
Now I understand.
But any suggestion about my problem?
thanks,
grscot
Sorry,
I can't understand your answer
Could you please send it again, with some comments?
regards,
grscot
Dear all,
I can't borrow a book even though the code does not have any error. When I try to display the book details along with the member's name (in case the member has borrowed the book), I can't...
Dear all,
I can't borrow a book even though the code does not have any error. When I try to display the book details along with the member's name (in case the member has borrowed the book), I can't...
Dear all,
All I'm trying to do is to enter 3 books from the keyboard to an array and then traverse the array to display the elements and also prompt the user to enter the book names to delete them...
Dear all,
I have two template functions for displaying books and members respectively from arrays.
template<class Object>
void List<Object>::displayBook(char* type)
{
if (num_elements == 0)...
Dear all,
The only reason I posted the whole code was to give one the chance to run the program and see in practice the problem.
But I guess you are right, that is too much.
Anyway,
The...
Dear all,
The concept behind the code is:
There is an associationlist that holds association pointers. Each association pointer has two pointers, that point to a book and to a member object...
Template question
Dear all,
I have two functions:
a) Member* get_member(Book* book);
b)Book* get_book(Member* member);
The implementation code for the function prototypes is:
Dear all,
I 've understood that the template function for the two functions :
int AddNumbers(int a, int b);
float AddFloats(float a, float b);
is: template<class T>
T Add(const T &a, const...
Dear all,
I would like to ask if it is possible to have a template function as a general function for two functions that have a different return type.
For example:
int AddNumbers(int a, int b);...
Dear all,
In the menu, I can add members in a memberlist and display them, using the function :
template<class Object>
void List<Object>::displayElement(char* type)
{
if (num_elements == 0)...
Hi everybody,
I have a number of .cpp and .h files. Each couple of them(.cpp and the corresponding .h) is compiled correctly. The application compiles successfully, but in the link process an...