get future time value
<pre><code>#include &lt;time.h&gt;
#include &lt;iostream&gt;

using namespace std;

int main()
{
    time_t current = time(0);

    cout &lt;&lt; ctime(&amp;current) &lt;&lt; endl; 
    return 0;
}
</code></pre>

<p>How can I get the future time, say 1 hour later, from the current time?</p>
