lab3
This commit is contained in:
21
Assignments/lab3_CalebFontenot/main.cpp
Normal file
21
Assignments/lab3_CalebFontenot/main.cpp
Normal file
@@ -0,0 +1,21 @@
|
||||
#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;
|
||||
}
|
Reference in New Issue
Block a user