Update: I've tried compiling with Dev-C++. Here's the output and all the errors.
Compiler: Default compiler
Compiler: Default compiler
Executing g++.exe...
g++.exe "C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp" -o "C:\Documents and Settings\AxessTerminated\Desktop\driver.exe" -I"C:\Dev-Cpp\lib\gcc\mingw32\3.4.2\include" -I"C:\Dev-Cpp\include\c++\3.4.2\backward" -I"C:\Dev-Cpp\include\c++\3.4.2\mingw32" -I"C:\Dev-Cpp\include\c++\3.4.2" -I"C:\Dev-Cpp\include" -L"C:\Dev-Cpp\lib"
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:63: error: variable or field `interrupt' declared void
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:63: error: `oldhandler' was not declared in this scope
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:63: error: expected `,' or `;' before '(' token
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:66: error: `interrupt' does not name a type
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:79: error: `main' must return `int'
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp: In function `int main(...)':
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:81: error: `oldhandler' undeclared (first use this function)
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:81: error: (Each undeclared identifier is reported only once for each function it appears in.)
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:81: error: `getvect' undeclared (first use this function)
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:84: error: `handler' undeclared (first use this function)
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:84: error: `setvect' undeclared (first use this function)
C:\Documents and Settings\AxessTerminated\Desktop\driver.cpp:87: error: `delay' undeclared (first use this function)
Execution terminated




Reply With Quote