mirror of
https://github.com/TheAlgorithms/C-Plus-Plus.git
synced 2026-03-22 12:52:48 +08:00
Documentation for cf562f2244
This commit is contained in:
114
d6/da2/namespacevigenere.html
Normal file
114
d6/da2/namespacevigenere.html
Normal file
@@ -0,0 +1,114 @@
|
||||
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
||||
<html xmlns="http://www.w3.org/1999/xhtml">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
|
||||
<meta name="generator" content="Doxygen 1.8.18"/>
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1"/>
|
||||
<title>Algorithms_in_C++: vigenere Namespace Reference</title>
|
||||
<link href="../../tabs.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../jquery.js"></script>
|
||||
<script type="text/javascript" src="../../dynsections.js"></script>
|
||||
<link href="../../navtree.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../resize.js"></script>
|
||||
<script type="text/javascript" src="../../navtreedata.js"></script>
|
||||
<script type="text/javascript" src="../../navtree.js"></script>
|
||||
<link href="../../search/search.css" rel="stylesheet" type="text/css"/>
|
||||
<script type="text/javascript" src="../../search/searchdata.js"></script>
|
||||
<script type="text/javascript" src="../../search/search.js"></script>
|
||||
<script type="text/x-mathjax-config">
|
||||
MathJax.Hub.Config({
|
||||
extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"],
|
||||
jax: ["input/TeX","output/HTML-CSS"],
|
||||
});
|
||||
</script>
|
||||
<script type="text/javascript" async="async" src="https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/MathJax.js?config=TeX-MML-AM_CHTML/MathJax.js"></script>
|
||||
<link href="../../doxygen.css" rel="stylesheet" type="text/css" />
|
||||
</head>
|
||||
<body>
|
||||
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
|
||||
<div id="titlearea">
|
||||
<table cellspacing="0" cellpadding="0">
|
||||
<tbody>
|
||||
<tr style="height: 56px;">
|
||||
<td id="projectalign" style="padding-left: 0.5em;">
|
||||
<div id="projectname">Algorithms_in_C++
|
||||
 <span id="projectnumber">1.0.0</span>
|
||||
</div>
|
||||
<div id="projectbrief">Set of algorithms implemented in C++.</div>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
<!-- end header part -->
|
||||
<!-- Generated by Doxygen 1.8.18 -->
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
var searchBox = new SearchBox("searchBox", "../../search",false,'Search');
|
||||
/* @license-end */
|
||||
</script>
|
||||
<script type="text/javascript" src="../../menudata.js"></script>
|
||||
<script type="text/javascript" src="../../menu.js"></script>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(function() {
|
||||
initMenu('../../',true,false,'search.php','Search');
|
||||
$(document).ready(function() { init_search(); });
|
||||
});
|
||||
/* @license-end */</script>
|
||||
<div id="main-nav"></div>
|
||||
</div><!-- top -->
|
||||
<div id="side-nav" class="ui-resizable side-nav-resizable">
|
||||
<div id="nav-tree">
|
||||
<div id="nav-tree-contents">
|
||||
<div id="nav-sync" class="sync"></div>
|
||||
</div>
|
||||
</div>
|
||||
<div id="splitbar" style="-moz-user-select:none;"
|
||||
class="ui-resizable-handle">
|
||||
</div>
|
||||
</div>
|
||||
<script type="text/javascript">
|
||||
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&dn=gpl-2.0.txt GPL-v2 */
|
||||
$(document).ready(function(){initNavTree('d6/da2/namespacevigenere.html','../../'); initResizable(); });
|
||||
/* @license-end */
|
||||
</script>
|
||||
<div id="doc-content">
|
||||
<!-- window showing the filter options -->
|
||||
<div id="MSearchSelectWindow"
|
||||
onmouseover="return searchBox.OnSearchSelectShow()"
|
||||
onmouseout="return searchBox.OnSearchSelectHide()"
|
||||
onkeydown="return searchBox.OnSearchSelectKey(event)">
|
||||
</div>
|
||||
|
||||
<!-- iframe showing the search results (closed by default) -->
|
||||
<div id="MSearchResultsWindow">
|
||||
<iframe src="javascript:void(0)" frameborder="0"
|
||||
name="MSearchResults" id="MSearchResults">
|
||||
</iframe>
|
||||
</div>
|
||||
|
||||
<div class="header">
|
||||
<div class="headertitle">
|
||||
<div class="title">vigenere Namespace Reference</div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
|
||||
<p>Functions for <a href="https://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher">vigenère cipher</a> algorithm.
|
||||
<a href="../../d6/da2/namespacevigenere.html#details">More...</a></p>
|
||||
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
|
||||
<div class="textblock"><p>Functions for <a href="https://en.wikipedia.org/wiki/Vigen%C3%A8re_cipher">vigenère cipher</a> algorithm. </p>
|
||||
</div></div><!-- contents -->
|
||||
</div><!-- doc-content -->
|
||||
<!-- start footer part -->
|
||||
<div id="nav-path" class="navpath"><!-- id is needed for treeview function! -->
|
||||
<ul>
|
||||
<li class="navelem"><a class="el" href="../../d6/da2/namespacevigenere.html">vigenere</a></li>
|
||||
<li class="footer">Generated by
|
||||
<a href="http://www.doxygen.org/index.html">
|
||||
<img class="footer" src="../../doxygen.png" alt="doxygen"/></a> 1.8.18 </li>
|
||||
</ul>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
@@ -94,12 +94,12 @@ $(document).ready(function(){initNavTree('d6/dcd/md__c_o_n_t_r_i_b_u_t_i_n_g.htm
|
||||
<div class="title">CONTRIBUTION GUIDELINES </div> </div>
|
||||
</div><!--header-->
|
||||
<div class="contents">
|
||||
<div class="textblock"><h1><a class="anchor" id="autotoc_md3"></a>
|
||||
<div class="textblock"><h1><a class="anchor" id="autotoc_md4"></a>
|
||||
Before contributing</h1>
|
||||
<p>Welcome to <a href="https://github.com/TheAlgorithms/C-Plus-Plus">TheAlgorithms/C-Plus-Plus</a>! Before submitting pull requests, please make sure that you have <b>read the whole guidelines</b>. If you have any doubts about this contribution guide, please open <a href="https://github.com/TheAlgorithms/C-Plus-Plus/issues/new/choose">an issue</a> and clearly state your concerns.</p>
|
||||
<h1><a class="anchor" id="autotoc_md4"></a>
|
||||
<h1><a class="anchor" id="autotoc_md5"></a>
|
||||
Contributing</h1>
|
||||
<h2><a class="anchor" id="autotoc_md5"></a>
|
||||
<h2><a class="anchor" id="autotoc_md6"></a>
|
||||
Contributor</h2>
|
||||
<p>We are very happy that you consider implementing algorithms and data structures for others! This repository is referred to and used by learners from around the globe. Being one of our contributors, you agree and confirm that:</p><ul>
|
||||
<li>You did your own work.<ul>
|
||||
@@ -112,9 +112,9 @@ Contributor</h2>
|
||||
<p><b>New implementation</b> New implementation are welcome!</p>
|
||||
<p><b>Improving comments</b> and <b>adding tests</b> to existing algorithms are much appreciated.</p>
|
||||
<p><b>Issues</b> Please avoid opening issues asking to be "assigned” to a particular algorithm. This merely creates unnecessary noise for maintainers. Instead, please submit your implementation in a pull request and it will be evaluated by project maintainers.</p>
|
||||
<h2><a class="anchor" id="autotoc_md6"></a>
|
||||
<h2><a class="anchor" id="autotoc_md7"></a>
|
||||
Making Changes</h2>
|
||||
<h3><a class="anchor" id="autotoc_md7"></a>
|
||||
<h3><a class="anchor" id="autotoc_md8"></a>
|
||||
Code</h3>
|
||||
<ul>
|
||||
<li>Please use the directory structure of the repository.</li>
|
||||
@@ -128,7 +128,7 @@ Code</h3>
|
||||
<li>Please conform to <a href="https://www.doxygen.nl/manual/docblocks.html">doxygen</a> standard and document the code as much as possible. This not only facilitates the readers but also generates the correct info on website.</li>
|
||||
<li><b>Be consistent in use of these guidelines.</b></li>
|
||||
</ul>
|
||||
<h3><a class="anchor" id="autotoc_md8"></a>
|
||||
<h3><a class="anchor" id="autotoc_md9"></a>
|
||||
Documentation</h3>
|
||||
<ul>
|
||||
<li>Make sure you put useful comments in your code. Do not comment things that are obvious.</li>
|
||||
@@ -137,14 +137,14 @@ Documentation</h3>
|
||||
<li>Do not update README.md along with other changes, first create an issue and then link to that issue in your pull request to suggest specific changes required to README.md</li>
|
||||
<li>The repository follows <a href="https://www.doxygen.nl/manual/docblocks.html">Doxygen</a> standards and auto-generates the <a href="https://thealgorithms.github.io/C-Plus-Plus">repo website</a>. Please ensure the code is documented in this structure. Sample implementation is given below.</li>
|
||||
</ul>
|
||||
<h3><a class="anchor" id="autotoc_md9"></a>
|
||||
<h3><a class="anchor" id="autotoc_md10"></a>
|
||||
Test</h3>
|
||||
<ul>
|
||||
<li>Make sure to add examples and test cases in your <a class="el" href="../../d6/d2c/caesar__cipher_8cpp.html#ae66f6b31b5ad750f1fe042a706a4e3d4">main()</a> function.</li>
|
||||
<li>If you find any algorithm or document without tests, please feel free to create a pull request or issue describing suggested changes.</li>
|
||||
<li>Please try to add one or more <code><a class="el" href="../../d6/d2c/caesar__cipher_8cpp.html#ae1a3968e7947464bee7714f6d43b7002">test()</a></code> functions that will invoke the algorithm implementation on random test data with expected output. Use <code>assert()</code> function to confirm that the tests will pass.</li>
|
||||
</ul>
|
||||
<h3><a class="anchor" id="autotoc_md10"></a>
|
||||
<h3><a class="anchor" id="autotoc_md11"></a>
|
||||
Typical structure of a program:</h3>
|
||||
<div class="fragment"><div class="line"><span class="comment">/**</span></div>
|
||||
<div class="line"><span class="comment"> * @file </span></div>
|
||||
@@ -206,7 +206,7 @@ Typical structure of a program:</h3>
|
||||
<div class="line"> <span class="comment">// code here</span></div>
|
||||
<div class="line"> <span class="keywordflow">return</span> 0;</div>
|
||||
<div class="line">}</div>
|
||||
</div><!-- fragment --><h3><a class="anchor" id="autotoc_md11"></a>
|
||||
</div><!-- fragment --><h3><a class="anchor" id="autotoc_md12"></a>
|
||||
New File Name guidelines</h3>
|
||||
<ul>
|
||||
<li>Use lowercase words with <code>"_"</code> as separator</li>
|
||||
@@ -216,7 +216,7 @@ New File Name guidelines</h3>
|
||||
<li>It will be used to dynamically create a directory of files and implementation.</li>
|
||||
<li>File name validation will run on docker to ensure the validity.</li>
|
||||
</ul>
|
||||
<h3><a class="anchor" id="autotoc_md12"></a>
|
||||
<h3><a class="anchor" id="autotoc_md13"></a>
|
||||
New Directory guidelines</h3>
|
||||
<ul>
|
||||
<li>We recommend adding files to existing directories as much as possible.</li>
|
||||
@@ -227,7 +227,7 @@ New Directory guidelines</h3>
|
||||
<li>Filepaths will be used to dynamically create a directory of our algorithms.</li>
|
||||
<li>Filepath validation will run on GitHub Actions to ensure compliance.</li>
|
||||
</ul>
|
||||
<h3><a class="anchor" id="autotoc_md13"></a>
|
||||
<h3><a class="anchor" id="autotoc_md14"></a>
|
||||
Commit Guidelines</h3>
|
||||
<ul>
|
||||
<li>It is recommended to keep your changes grouped logically within individual commits. Maintainers find it easier to understand changes that are logically spilt across multiple commits. Try to modify just one or two files in the same directory. Pull requests that span multiple directories are often rejected. <div class="fragment"><div class="line">git add file_xyz.cpp</div>
|
||||
@@ -244,12 +244,12 @@ Commit Guidelines</h3>
|
||||
<li>docs: Documentation changes</li>
|
||||
<li>test: Correct existing tests or add new ones</li>
|
||||
</ul>
|
||||
<h2><a class="anchor" id="autotoc_md14"></a>
|
||||
<h2><a class="anchor" id="autotoc_md15"></a>
|
||||
Pull Requests</h2>
|
||||
<ul>
|
||||
<li>Checkout our <a href="https://github.com/TheAlgorithms/C-Plus-Plus/blob/master/.github/pull_request_template.md">pull request template</a></li>
|
||||
</ul>
|
||||
<h3><a class="anchor" id="autotoc_md15"></a>
|
||||
<h3><a class="anchor" id="autotoc_md16"></a>
|
||||
cpplint</h3>
|
||||
<p>To see if <a href="https://github.com/cpplint/cpplint"><b>cpplint</b></a> is already installed, do:</p><ul>
|
||||
<li><code>cpplint --version</code> # currently returns "cpplint 1.4.4" If cpplint is ___not___ installed then do:</li>
|
||||
|
||||
Reference in New Issue
Block a user