[Dev-C++] What is wrong with this code?
Open Source C & C++ IDE for Windows
Brought to you by:
claplace
From: Heedle B. <hee...@gm...> - 2009-05-11 23:40:34
|
#include <iostream> #include <windows.h> using namespace std; int main() { system("c:\PTH.exe"); sleep<15000>; system("c:\BLACK.exe"); return 0; } returns the error upon compile: c:\documents and settings\\my documents\\projects\shutdown\shutdown\cpp.cpp(8) : warning C4129: 'P' : unrecognized character escape sequence c:\documents and settings\\my documents\\projects\shutdown\shutdown\cpp.cpp(9) : error C2065: 'sleep' : undeclared identifier c:\documents and settings\\my documents\\projects\shutdown\shutdown\cpp.cpp(9) : error C2059: syntax error : ';' c:\documents and settings\\my documents\\projects\shutdown\shutdown\cpp.cpp(10) : warning C4129: 'B' : unrecognized character escape sequence |