title: How to get unsigned int as console argument?
body: <p><br>
  I'm trying to pass an unsigned int value via console argument to my program.
  <br>
  <br>
  what have I tried yet:<br>
  first: check if argc is 2, otherwise error</p>
  
  <p>if there is a second value I tried to convert this value with:</p>
  
  <pre><code>strtoul(argv[1], NULL, 0)
  </code></pre>
  
  <p>So when I pass "100", i get "1" <br>
  What am I doing wrong?</p>
  
  <p>br <br>
  Sagi</p>
  
  <p><br>
  <br>
  €: passed a wrong argument to my function, found the mistake, thanks guys</p>