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 strongm 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. ggc01r

    initialising and freeing matrix

    Hi, I need to create and eventually destroy a (square) 2-D array of ints; the way I am creating it is: int **matrix; matrix=(int **)calloc(sizeof(int *) * NUM_ENTRIES, sizeof(int *)); for(i=0; i<NUM_ENTRIES; i++) matrix[i]=(int *)calloc(sizeof(int) * NUM_ENTRIES, sizeof(int)); I'm using...

Part and Inventory Search

Back
Top