Search:

Type: Posts; User: Salem

Search: Search took 0.42 seconds.

  1. Replies
    16
    Views
    4,371

    Trivial counter example of why that won't work. ...

    Trivial counter example of why that won't work.


    int main ( int argc, char *argv[] ) {
    int n;
    int *p;
    if ( argc <= 1 ) {
    n = 10;
    p = malloc( n * sizeof *p );
    } else {
  2. Replies
    16
    Views
    4,371

    Well valgrind is open source, so I suggest you...

    Well valgrind is open source, so I suggest you get to it and start studying it thoroughly.
  3. Replies
    16
    Views
    4,371

    Well what you describe in a production scenario...

    Well what you describe in a production scenario is Valgrind Home
    But coming up with that for a school assignment is impractical.

    A very simple memory tracker on the other hand is easy to...
Results 1 to 3 of 3