C++ string parsing delimited by 0's
<p>I have a number/string like this ( I am not sure how to convert int to and from strings)</p>

<p>000000122310200000223340000700012220000011411000000011011271043334010220001127100003333201000001000070005222500233400000000000000000000</p>

<p>What I need to do is to separate the numbers between 0's, so I get strings like</p>

<p>"12231"
"22334"
"7"
"1222"</p>

<p>and so forth, and then I need to convert them into int.
(basically I have searched to no avail of how to do the conversion)</p>

<p>Can someone help out?</p>

<p>Thanks!</p>