Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Recent content by deano99

  1. deano99

    malloc vs calloc and new

    I'm trying to allocate memory to a void pointer and then cast it to a class, which contains a vector member variable. When I try and use the vector member function push_back, my program crashes if I use malloc to allocate memory, but not when I use calloc or new, Any ideas why malloc causes a...

Part and Inventory Search

Back
Top