Skip to main content
gamedev.net
🔒 Locked

stack overflow with deep linked list

Started by Baltz 0 replies 600+ views
Original Post
Baltz
Baltz
hi i create a very deep linked list and i get a stack overflow error this happens only when the linked list is very deep does anyone know why? thanks
civguy
civguy
Somewhere happens a recursive call through the linked list. Like in the destructor where it could delete the next node, whose destructor deletes the next node and so on.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.