43 lines
4.8 KiB
HTML
43 lines
4.8 KiB
HTML
|
<html>
|
||
|
<head>
|
||
|
<title>twoDarraysChar.h</title>
|
||
|
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
|
||
|
<style type="text/css">
|
||
|
.s0 { color: #7a7e85;}
|
||
|
.s1 { color: #bcbec4;}
|
||
|
.s2 { color: #b3ae60;}
|
||
|
.s3 { color: #cf8e6d;}
|
||
|
.s4 { color: #bcbec4;}
|
||
|
</style>
|
||
|
</head>
|
||
|
<body bgcolor="#1e1f22">
|
||
|
<table CELLSPACING=0 CELLPADDING=5 COLS=1 WIDTH="100%" BGCOLOR="#606060" >
|
||
|
<tr><td><center>
|
||
|
<font face="Arial, Helvetica" color="#000000">
|
||
|
twoDarraysChar.h</font>
|
||
|
</center></td></tr></table>
|
||
|
<pre><span class="s0">//</span>
|
||
|
<span class="s0">// Created by caleb on 3/20/24.</span>
|
||
|
<span class="s0">//</span>
|
||
|
|
||
|
<span class="s2">#ifndef </span><span class="s1">LAB3_CALEBFONTENOT_TWODARRAYSCHAR_H</span>
|
||
|
<span class="s2">#define </span><span class="s1">LAB3_CALEBFONTENOT_TWODARRAYSCHAR_H</span>
|
||
|
|
||
|
<span class="s3">char</span><span class="s4">** </span><span class="s1">create2DarrayChar</span><span class="s4">(</span><span class="s3">int </span><span class="s1">rows</span><span class="s4">, </span><span class="s3">int </span><span class="s1">columns</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">populateChar</span><span class="s4">(</span><span class="s3">char</span><span class="s4">** </span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">, </span><span class="s3">int </span><span class="s1">columns</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">populateCharReverse</span><span class="s4">(</span><span class="s3">char</span><span class="s4">** </span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">, </span><span class="s3">int </span><span class="s1">columns</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">traverseChar</span><span class="s4">(</span><span class="s3">char</span><span class="s4">** </span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">, </span><span class="s3">int </span><span class="s1">columns</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">traverseCharSingleLoop </span><span class="s4">(</span><span class="s3">char</span><span class="s4">** </span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">freeMemoryChar</span><span class="s4">(</span><span class="s3">char </span><span class="s4">**</span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">sort</span><span class="s4">(</span><span class="s3">char </span><span class="s4">**</span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">columns</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">);</span>
|
||
|
|
||
|
<span class="s3">char</span><span class="s4">** </span><span class="s1">create2DarrayCharDereference</span><span class="s4">(</span><span class="s3">int </span><span class="s1">rows</span><span class="s4">, </span><span class="s3">int </span><span class="s1">columns</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">populateCharDereference</span><span class="s4">(</span><span class="s3">char</span><span class="s4">** </span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">, </span><span class="s3">int </span><span class="s1">columns</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">traverseCharDereference</span><span class="s4">(</span><span class="s3">char</span><span class="s4">** </span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">, </span><span class="s3">int </span><span class="s1">columns</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">traverseCharSingleLoopDereference</span><span class="s4">(</span><span class="s3">char</span><span class="s4">** </span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">);</span>
|
||
|
<span class="s3">void </span><span class="s1">freeMemoryCharDereference</span><span class="s4">(</span><span class="s3">char </span><span class="s4">**</span><span class="s1">pp</span><span class="s4">, </span><span class="s3">int </span><span class="s1">rows</span><span class="s4">);</span>
|
||
|
|
||
|
<span class="s2">#endif </span><span class="s0">//LAB3_CALEBFONTENOT_TWODARRAYSCHAR_H</span>
|
||
|
</pre>
|
||
|
</body>
|
||
|
</html>
|