Search:

Type: Posts; User: JonKalb

Search: Search took 0.01 seconds.

  1. Replies
    3
    Views
    833

    I don't think you want to have "i < total_elems...

    I don't think you want to have "i < total_elems -1;"

    But I'm with grumpy that you shouldn't be rolling your own sort.
  2. Replies
    2
    Views
    574

    V8cTor, It doesn't look like you properly...

    V8cTor,

    It doesn't look like you properly handle the case where n == 0. (return a;?)

    There are some minor nits:

    your ptC should probably be for char const* rather than char*
    the type for...
  3. Replies
    2
    Views
    6,177

    // Narendrav, // Your program doesn't hang for...

    // Narendrav,

    // Your program doesn't hang for me, but since it does have *undefined behavior* it might hang in some cases.
    // Let's go through it.

    // You need to include some files for...
  4. Replies
    8
    Views
    2,122

    I'll be there. I'll be giving a few talks and I...

    I'll be there. I'll be giving a few talks and I look forward to meeting you.

    Jon
Results 1 to 4 of 4