I don't even rememeber what I changed between now and last commit

This commit is contained in:
2024-03-18 18:11:48 -05:00
parent debcca3729
commit f39848f9b3
174 changed files with 16569 additions and 2577 deletions

View File

@@ -0,0 +1,29 @@
//
// Created by caleb on 3/15/24.
//
#ifndef CPPAPPLICATION_POINTERS_TWODARRAYS_H
#define CPPAPPLICATION_POINTERS_TWODARRAYS_H
/** Create a 2D dynamic array and return it.
Use indexes in creation*/
int** create2Darray1( int rows, int columns);
/** Create a 2D dynamic array and return it.
Use offset in creation*/
int** create2Darray2( int rows, int columns);
/* Populate the 2D array with arbitary integers using a loop*/
void populate( int** pp, int rows, int columns);
/*Traverse the 2D array using indexes inside a loop*/
void traverse( int** pp, int rows, int columns);
/*Traverse the 2D array by dereferencing the pointers inside a loop*/
void traverse1( int** pp, int rows, int columns);
/** Free the memory the 2D array*/
void freeMemory( int** pp, int rows);
#endif //CPPAPPLICATION_POINTERS_TWODARRAYS_H