i have tried doing something with my code where i have some text displayed to the user. Then there is a brief pause, say 2 seconds, then the next line should appear. However when i run the code it just comes up with sleep not declared in the scope.
Heres my code below:
// testing sleep function
// By Camryn Procter
#include <iostream>
#include <time.h>
using namespace std;