Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. delete and delete[]

delete and delete[]

Scheduled Pinned Locked Moved The Lounge
questionc++data-structuresannouncement
21 Posts 13 Posters 2 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • C Christian Graus

    No, this isn't a programming question. I seem to recall that on some version of VC++, delete and delete[] do the same thing, am I right in thinking that ? If so, does anyone have an online reference to the fact ? Note: I NEVER use delete without the [] to delete an array, but I thought that proper form didn't make a difference, is all. Christian I have drunk the cool-aid and found it wan and bitter. - Chris Maunder

    M Offline
    M Offline
    Mike Dimmick
    wrote on last edited by
    #21

    Raymond Chen: Mismatching scalar and vector new and delete[^] Stability. What an interesting concept. -- Chris Maunder

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups