22 lines
482 B
C++
22 lines
482 B
C++
#include <iostream>
|
|
#include "twoDarraysChar.h"
|
|
|
|
void test2DcharArray() {
|
|
char **pp = create2DarrayCharDereference(3, 4);
|
|
populateCharReverse(pp, 3, 4);
|
|
traverseCharDereference(pp, 3, 4);
|
|
traverseCharSingleLoopDereference(pp, 3);
|
|
sort(pp, 3, 4);
|
|
std::cout << std::endl;
|
|
traverseCharSingleLoopDereference(pp, 3);
|
|
freeMemoryCharDereference(pp, 3);
|
|
|
|
}
|
|
|
|
|
|
int main() {
|
|
std::cout << "Hello, World!" << std::endl;
|
|
test2DcharArray();
|
|
return 0;
|
|
}
|