Search:

Type: Posts; User: corn

Search: Search took 0.01 seconds.

  1. Replies
    13
    Views
    2,925

    I think you are right. The "delete" is used to...

    I think you are right. The "delete" is used to release any storage that is allocated with "new", that is the object on the heap. The "delete []" is used to delete an arrary of objects on the heap.
  2. Replies
    7
    Views
    1,155

    Thanks. All of your suggestions are helpful.

    Thanks.

    All of your suggestions are helpful.
  3. Replies
    7
    Views
    1,155

    adrianxw: Yes, it is a easy way to modify...

    adrianxw:

    Yes, it is a easy way to modify value using "Class.x = 5;". However, the problem is that I don't know the name of these attributes when I modify them.

    Suppose there are a class like...
  4. Replies
    7
    Views
    1,155

    But I need to directly access each attribute of...

    But I need to directly access each attribute of the complex types and modify the values of them. So I must know the address of each attribute before I modify it. How can I determine whether the word...
  5. Replies
    7
    Views
    1,155

    Really? But in some documents I find it is...

    Really? But in some documents I find it is computer system dependent. Could you please recommend some documents or information about it? Thanks.
Results 1 to 5 of 5