Thread
:
C realloc help
View Single Post
#
2
(View Single Post)
31st August 2008
Tom
Port Guard
Join Date: Aug 2008
Location: Poland
Posts: 22
I think it might be a problem in style you have reallocated a memory.
Code:
new_pointer = realloc(pointer, (pointer_size+100)*sizeof(int));
Regards.
Tom
View Public Profile
Find all posts by Tom