Fixed the signature for main in the sample
git-svn-id: http://svn.code.sf.net/p/utfcpp/code@86 a809a056-fc17-0410-9590-b4f493f8b08e
This commit is contained in:
parent
76c6662ef9
commit
dacd49dde9
1 changed files with 1 additions and 1 deletions
|
@ -128,7 +128,7 @@
|
|||
<span class="preprocessor">#include <vector></span>
|
||||
<span class="preprocessor">#include "utf8.h"</span>
|
||||
<span class="keyword">using namespace</span> std;
|
||||
<span class="keyword">int</span> main()
|
||||
<span class="keyword">int</span> main(<span class="keyword">int</span> argc, <span class="keyword">char</span>** argv)
|
||||
{
|
||||
<span class="keyword">if</span> (argc != <span class="literal">2</span>) {
|
||||
cout << <span class="literal">"\nUsage: docsample filename\n"</span>;
|
||||
|
|
Loading…
Reference in a new issue