Thread: isfull() - lists

  1. #1

    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
    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
    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.

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, 04: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, 08:57 PM