title: how to condense a string of numbers
body: <pre><code> char *s = "1234560000000000078999";
  unsigned int ss = strlen(s);
  vector&lt;int&gt; num;
  unsigned int i;
  for (i=0;i&lt;ss;i+=2)
  {
      num.push_back((s[i] - '0')*10 + (s[i+1] - '0'));
  }
  </code></pre>
  
  <p>i'm trying to condense a string that only contains numbers and store it in a int vector 
  the idea is to take each couple of numbers int the string and combain them into one integer 
  the problem i had is with numbers that start with zero , for example 1107 only gets stored as 117 and 1100 as 110 
  the other problem i had is with even numbers ;
  any sultions please
  thank you </p>