Results 1 to 2 of 2

Thread: delete (OT and stupid)

  1. #1
    Senior Member Frequent Contributor
    Join Date
    Apr 2003
    Posts
    680

    delete (OT and stupid)

    this might be a very stupid question, but I am simply not sure about it..

    when there is a

    char* myChar = new char[length];

    do I have to "delete" or "delete []" it?

    Jan

  2. #2
    Junior Member Newbie
    Join Date
    Jun 2003
    Location
    Viersen, NRW, Germany
    Posts
    7

    Re: delete (OT and stupid)

    delete[]

Similar Threads

  1. vbo and delete
    By giugio in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 08-16-2012, 03:09 PM
  2. please delete it....
    By orendavd in forum OpenGL: General
    Replies: 1
    Last Post: 05-13-2008, 11:26 AM
  3. stupid stupid question - Installing OpenGL?
    By JonnyW in forum OpenGL: Linux
    Replies: 3
    Last Post: 02-01-2004, 05:44 PM
  4. delete!!
    By in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-19-2004, 05:22 AM
  5. Need Help Please! Can't delete :(
    By in forum OpenGL: User Software
    Replies: 0
    Last Post: 11-20-2003, 11:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean