Documentation for c26eea874d

This commit is contained in:
realstealthninja
2025-05-19 11:38:33 +00:00
parent c7a9a42397
commit 14583a2f33
2829 changed files with 30266 additions and 21669 deletions

View File

@@ -4,7 +4,7 @@
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=11"/>
<meta name="generator" content="Doxygen 1.12.0"/>
<meta name="generator" content="Doxygen 1.13.2"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>TheAlgorithms/C++: data_structures/linked_list.cpp File Reference</title>
<link rel="icon" href="../../favicon.svg" type="image/x-icon" />
@@ -60,7 +60,7 @@ window.MathJax = {
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.12.0 -->
<!-- Generated by Doxygen 1.13.2 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:d3d9a9a6595521f9666a5e94cc830dab83b65699&amp;dn=expat.txt MIT */
var searchBox = new SearchBox("searchBox", "../../search/",'.html');
@@ -251,7 +251,7 @@ false if any other character is found </dd></dl>
<div class="line"><span class="lineno"> 240</span> std::cout &lt;&lt; <span class="stringliteral">&quot;\nEnter the element to be inserted : &quot;</span>;</div>
<div class="line"><span class="lineno"> 241</span> std::cin &gt;&gt; s;</div>
<div class="line"><span class="lineno"> 242</span> </div>
<div class="line"><span class="lineno"> 243</span> <span class="keywordflow">if</span> (data_structures::linked_list::isDigit(s)) {</div>
<div class="line"><span class="lineno"> 243</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="#ab1a372fe1e605bc0e0987dcdd7361180">data_structures::linked_list::isDigit</a>(s)) {</div>
<div class="line"><span class="lineno"> 244</span> x = std::stoi(s);</div>
<div class="line"><span class="lineno"> 245</span> <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a6d8df83a6f26ce24a75d3b358b7f5b8a">l</a>.push_back(x);</div>
<div class="line"><span class="lineno"> 246</span> } <span class="keywordflow">else</span> {</div>
@@ -261,7 +261,7 @@ false if any other character is found </dd></dl>
<div class="line"><span class="lineno"> 250</span> <span class="keywordflow">case</span> 2:</div>
<div class="line"><span class="lineno"> 251</span> std::cout &lt;&lt; <span class="stringliteral">&quot;\nEnter the element to be removed : &quot;</span>;</div>
<div class="line"><span class="lineno"> 252</span> std::cin &gt;&gt; s;</div>
<div class="line"><span class="lineno"> 253</span> <span class="keywordflow">if</span> (data_structures::linked_list::isDigit(s)) {</div>
<div class="line"><span class="lineno"> 253</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="#ab1a372fe1e605bc0e0987dcdd7361180">data_structures::linked_list::isDigit</a>(s)) {</div>
<div class="line"><span class="lineno"> 254</span> x = std::stoi(s);</div>
<div class="line"><span class="lineno"> 255</span> <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a6d8df83a6f26ce24a75d3b358b7f5b8a">l</a>.erase(x);</div>
<div class="line"><span class="lineno"> 256</span> } <span class="keywordflow">else</span> {</div>
@@ -271,7 +271,7 @@ false if any other character is found </dd></dl>
<div class="line"><span class="lineno"> 260</span> <span class="keywordflow">case</span> 3:</div>
<div class="line"><span class="lineno"> 261</span> std::cout &lt;&lt; <span class="stringliteral">&quot;\nEnter the element to be searched : &quot;</span>;</div>
<div class="line"><span class="lineno"> 262</span> std::cin &gt;&gt; s;</div>
<div class="line"><span class="lineno"> 263</span> <span class="keywordflow">if</span> (data_structures::linked_list::isDigit(s)) {</div>
<div class="line"><span class="lineno"> 263</span> <span class="keywordflow">if</span> (<a class="code hl_function" href="#ab1a372fe1e605bc0e0987dcdd7361180">data_structures::linked_list::isDigit</a>(s)) {</div>
<div class="line"><span class="lineno"> 264</span> x = std::stoi(s);</div>
<div class="line"><span class="lineno"> 265</span> std::shared_ptr&lt;data_structures::linked_list::link&gt; found =</div>
<div class="line"><span class="lineno"> 266</span> <a class="code hl_function" href="../../d4/d18/composite__simpson__rule_8cpp.html#a6d8df83a6f26ce24a75d3b358b7f5b8a">l</a>.search(x);</div>
@@ -290,8 +290,9 @@ false if any other character is found </dd></dl>
<div class="line"><span class="lineno"> 279</span> } <span class="keywordflow">while</span> (choice != 0);</div>
<div class="line"><span class="lineno"> 280</span> <span class="keywordflow">return</span> 0;</div>
<div class="line"><span class="lineno"> 281</span>}</div>
<div class="ttc" id="aclassdata__structures_1_1linked__list_1_1list_html"><div class="ttname"><a href="../../d1/def/classdata__structures_1_1linked__list_1_1list.html">data_structures::linked_list::list</a></div><div class="ttdef"><b>Definition</b> <a href="../../d6/d05/reverse__a__linked__list_8cpp_source.html#l00068">reverse_a_linked_list.cpp:68</a></div></div>
<div class="ttc" id="aclassdata__structures_1_1linked__list_1_1list_html"><div class="ttname"><a href="../../d1/def/classdata__structures_1_1linked__list_1_1list.html">data_structures::linked_list::list</a></div><div class="ttdef"><b>Definition</b> <a href="../../da/dc3/linked__list_8cpp_source.html#l00081">linked_list.cpp:81</a></div></div>
<div class="ttc" id="acomposite__simpson__rule_8cpp_html_a6d8df83a6f26ce24a75d3b358b7f5b8a"><div class="ttname"><a href="../../d4/d18/composite__simpson__rule_8cpp.html#a6d8df83a6f26ce24a75d3b358b7f5b8a">numerical_methods::simpson_method::l</a></div><div class="ttdeci">double l(double x)</div><div class="ttdoc">Another test function.</div><div class="ttdef"><b>Definition</b> <a href="../../d4/d18/composite__simpson__rule_8cpp_source.html#l00119">composite_simpson_rule.cpp:119</a></div></div>
<div class="ttc" id="alinked__list_8cpp_html_ab1a372fe1e605bc0e0987dcdd7361180"><div class="ttname"><a href="#ab1a372fe1e605bc0e0987dcdd7361180">data_structures::linked_list::isDigit</a></div><div class="ttdeci">bool isDigit(const std::string &amp;s)</div><div class="ttdef"><b>Definition</b> <a href="../../da/dc3/linked__list_8cpp_source.html#l00040">linked_list.cpp:40</a></div></div>
</div><!-- fragment -->
</div>
</div>
@@ -301,7 +302,7 @@ false if any other character is found </dd></dl>
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
<ul>
<li class="navelem"><a class="el" href="../../dir_2e746e9d06bf2d8ff842208bcc6ebcfc.html">data_structures</a></li><li class="navelem"><a class="el" href="../../da/dc3/linked__list_8cpp.html">linked_list.cpp</a></li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.12.0 </li>
<li class="footer">Generated by <a href="https://www.doxygen.org/index.html"><img class="footer" src="../../doxygen.svg" width="104" height="31" alt="doxygen"/></a> 1.13.2 </li>
</ul>
</div>
</body>