Search:

Type: Posts; User: nysubmarine

Search: Search took 0.01 seconds.

  1. Replies
    25
    Views
    2,864

    I don't think sizeof will not work if I have...

    I don't think sizeof will not work if I have pointers to dinamically allocated members.

    Lets look at this example:



    class A {
    char a[100];
    }
  2. Replies
    25
    Views
    2,864

    How to measure memory consumption?

    Hi, I have a very complex C++ object (with many class members and some of them are shared between different objects).
    What is the best way to measure how much memory this object takes?

    I tried...
Results 1 to 2 of 2