Search:

Type: Posts; User: claudiu

Search: Search took 0.02 seconds.

  1. Thread: pointer help

    by claudiu
    Replies
    12
    Views
    1,729

    I think this post describes the problem with a...

    I think this post describes the problem with a short humorous anecdote.

    Why casting malloc is a bad idea...
  2. Thread: pointer help

    by claudiu
    Replies
    12
    Views
    1,729

    If you want to compile in C++ you might as well...

    If you want to compile in C++ you might as well drop all the "C-style" and write C++ code. Use strings instead of char arrays, use references in functions instead of passing pointers and allocate...
  3. Thread: pointer help

    by claudiu
    Replies
    12
    Views
    1,729

    Stop spoon feeding solutions to newbies that...

    Stop spoon feeding solutions to newbies that provide no code.

    Also, don't cast malloc.
Results 1 to 3 of 3