C++98 alternative to std::stoul?
<p>I'm having trouble here with this code:</p>

<pre><code>unsigned long value = stoul ( s, NULL, 11 );
</code></pre>

<p>that gives me this error with c++ 98</p>

<pre><code>error: 'stoul' was not declared in this scope
</code></pre>

<p>It works on C++11, but I need this on C++98.</p>