isfull() - lists

This is a discussion on isfull() - lists within the C++ Programming forums, part of the General Programming Boards category; Just wondering how you can check the isfull() function when implementing a linked list. what test can be run to ...

  1. #1
    Unregistered
    Guest

    Question isfull() - lists

    Just wondering how you can check the isfull() function when implementing a linked list. what test can be run to check if it has been written correctly?

  2. #2
    Unregistered
    Guest
    most lists are open ended in terms of length, so the isfull() method seems inappropriate, at first blush anyway.

  3. #3
    Registered User DeadArchDown's Avatar
    Join Date
    Apr 2002
    Posts
    28
    was some function (coreleft with borland..mabye?) and one that worked for microsoft (getglobalmemor mabye?) that returned how much memory was left to deligate from the freestore. I'd just assume check each addition as I allocated it with exception handling though...if I even worried about it at all.
    -------------------
    "Exception"

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Help creating lists of pointers
    By The_Kingpin in forum C Programming
    Replies: 2
    Last Post: 12-11-2004, 08:10 PM
  2. Question about Linked lists of lists
    By hear_no_evil in forum C Programming
    Replies: 2
    Last Post: 11-08-2004, 02:49 AM
  3. Linked Lists 101
    By The Brain in forum C++ Programming
    Replies: 5
    Last Post: 07-24-2004, 05:32 PM
  4. Map file formats and linked lists
    By Spitball in forum Game Programming
    Replies: 2
    Last Post: 03-04-2004, 11:32 PM
  5. need help w/ linked lists
    By MKashlev in forum C++ Programming
    Replies: 11
    Last Post: 08-05-2002, 09:57 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21