Search:

Type: Posts; User: std10093

Search: Search took 0.02 seconds.

  1. Replies
    6
    Views
    1,316

    If you use realloc remember to increase the size...

    If you use realloc remember to increase the size of the array (which has some advantages in comparison with the linked lists you are going to learn in the future ) to it's double size.It is vital for...
  2. Replies
    6
    Views
    1,316

    The keyword new is not part of the C language :) ...

    The keyword new is not part of the C language :)
    malloc is the function you need :) malloc - C++ Reference
    Declare the array as a pointer and then malloc the space you need :)
Results 1 to 2 of 2