Jump to content
  • Advertisement


  • Content Count

  • Joined

  • Last visited

Community Reputation

104 Neutral

About Kubu?

  • Rank
  1. Kubu?

    Game Programming: Snake

    I do know that I am quite late (the thread is approximately a year old) and i might seem nit-picky, but I would like to know if I'm wrong. It is really necessary to call segments.clear(); in Snake destructor? From what I understand deque's destructor will clear it's own memory. I know this is very insignificant detail, but I'm quite new to C++ (coded some C and much in Java), so i would like to be sure in this matter. Please do excuse my poor English.
  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!