What do you want to save?
Add Code snippet
New code examples
-
C++ 2021-09-28 00:51:02
sleep not declared in this scope c++
Solution: #include <unistd.h> Include unistd.h header file will solve the error. Explanation: "sleep" function in c++ context, include in header file "unistd.h" . otherwise we can see compilation error like below. prashad@ubu... Add solution
Best helpers
+5
+5
+5
+5
+5
+5
+5
+5