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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. rummy98

    implementation of a dynamic 2D array

    thanks hcexi, I actually didn't know I could assign a variable as a pointer pointer (**) ;-P Also, thanks for the destructor...I prolly would not have destroyed each individual array before destroying the initial one....there would have been hanging pointers everywhere. tks again...
  2. rummy98

    Resizing an array in C++

    try using calloc #include <stdio.h> #include <malloc.h> void *calloc( size_t num, size_t size );
  3. rummy98

    implementation of a dynamic 2D array

    I attempted to do this using a pointer to a specific data type, say int: int* x; then i created a single dimension array to hold the columns x = new * int [10] // this gives me an error for the * I wouldn't know any other way to create an array of pointers?!? then I would use a for...

Part and Inventory Search

Back
Top