title: Sleep function doesn't work
body: <p>I am using Xcode and I have just started using the <code>sleep()</code> function but for some reason Xcode keeps saying <code>Use of undeclared identifier 'sleep'</code>.</p>
  
  <p>Is there anyway around this? (As you can tell I'm quite new to C++)</p>