Okay. If you don't need code i will send error when i debug.
Compiling...
COMPILER.CPP
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(23) : error C2059: syntax error : 'constant'
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(23) : error C2143: syntax error : missing ';' before '}'
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(23) : error C2143: syntax error : missing ';' before '}'
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(33) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(40) : error C2440: 'default argument' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(40) : error C2440: 'default argument' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(40) : error C2548: 'generatecode' : missing default parameter for parameter 6
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(40) : error C2548: 'generatecode' : missing default parameter for parameter 7
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(77) : error C2440: 'initializing' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(95) : error C2065: 'clrscr' : undeclared identifier
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(103) : error C2440: '=' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(123) : error C2440: '=' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(142) : error C2440: '=' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(225) : error C2440: '=' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(243) : error C2440: '=' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(289) : error C2440: '=' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(436) : error C2440: '=' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(469) : error C2440: '=' : cannot convert from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(629) : error C2660: 'generatecode' : function does not take 3 parameters
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(642) : error C2660: 'generatecode' : function does not take 5 parameters
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(666) : error C2660: 'generatecode' : function does not take 5 parameters
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(702) : error C2664: 'generatecode' : cannot convert parameter 6 from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(704) : error C2660: 'generatecode' : function does not take 0 parameters
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(728) : error C2664: 'generatecode' : cannot convert parameter 6 from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)
C:\Documents and Settings\PhongLan\Desktop\COMPILER.CPP(732) : error C2664: 'generatecode' : cannot convert parameter 6 from 'const int' to 'enum boolean'
Conversion to enumeration type requires an explicit cast (static_cast, C-style cast or function-style cast)