The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

It was a CS-I course by dennismv2009-04-10 22:13:55
  Is the answer you were looking for any more by vampire 2009-04-11 10:36:58
complicated than:

1. Starting at element to be removed, move each successive element to current location.
2. Place last element into free memory.

Is your question missing context? It's very ambiguous from my perspective. I can think of several other ways to do this. But, they all depend on knowing more about the storage arrangement. The above solution, while incredibly inefficient, should work for any storage situation.
[ Reply ]
    not complicated. you got it (n/t) by dennismv2009-04-12 08:11:40

 

[Todays Cartoon Discussion] [News Index]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)