Search:

Type: Posts; User: grscot

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    3,720

    Borrow function doesnot work properly.

    Yes, that is the problem, I want to complete the borrow function.

    Can you help me?

    regards,
    grscot
  2. Replies
    16
    Views
    3,720

    Here is the code, Thanks for helping me, ...

    Here is the code,

    Thanks for helping me,

    regards,
    grscot
  3. Replies
    16
    Views
    3,720

    I can't display book and borrower's details together

    Dear all,

    I'm still struggling to display the book and the borrower's details together.

    Could someone help me?

    regards,
    grscot
  4. Replies
    16
    Views
    3,720

    I can't display book and borrower's details together

    Ok,

    Now I understand.

    But any suggestion about my problem?

    thanks,
    grscot
  5. Replies
    16
    Views
    3,720

    I can't display the book and the borrower's details together

    Sorry,
    I can't understand your answer

    Could you please send it again, with some comments?

    regards,
    grscot
  6. Replies
    16
    Views
    3,720

    I still can't display book and boorower's details together

    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...
  7. Replies
    0
    Views
    2,650

    Can't display book and borrower's details.

    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...
  8. Replies
    16
    Views
    3,720

    Can't display item from an array

    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...
  9. Can I use 1 template function instead of 2?

    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)...
  10. Thread: Template again

    by grscot
    Replies
    0
    Views
    785

    Template again

    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...
  11. Replies
    1
    Views
    1,881

    Template question

    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...
  12. Replies
    0
    Views
    954

    Question about templates

    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:
  13. Replies
    2
    Views
    1,070

    Another template question

    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...
  14. Replies
    2
    Views
    1,169

    Template problem question

    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);...
  15. Can't use template function for doing two similar things(displaying members,books)

    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)...
  16. Linking Problem in C++(Unresolved external symbol ....)

    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...
Results 1 to 16 of 17