Thread
:
malloc() & address allocation
View Single Post
03-21-2005, 11:48 AM
#
2
(
permalink
)
C.Ingram
Super Techie
Join Date: Mar 2005
Posts: 259
Try declaring BOTH pointers, then calling malloc twice. My first thought is that the gap between is the pointer p2.
__________________
Christopher Ingram
Principal Consultant,
Souken Group, LLC.
C.Ingram@SoukenGroup.com
(856) 392 5244 -- (866) Go Souken
C.Ingram
View Public Profile
Send a private message to C.Ingram
Visit C.Ingram's homepage!
Find More Posts by C.Ingram