I already posted this issue in the beginner forum. When the compiler output was required, I posted it. But since then there was no replies. So, maybe this is the right place for this issue
Here is the code that is going to be a pluggin for a game
--------------------Configuration: mingw2.95 - LIB Debug, Builder Type: MinGW (Old)--------------------
Compiling *\Untitled1.cpp...
[Error] *\Untitled1.cpp:1: syntax error before `::'
[Error] *\Untitled1.cpp:6: syntax error before `;'
[Error] *\Untitled1.cpp:7: syntax error before `,'
[Error] *\Untitled1.cpp:9: syntax error before `.'
[Error] *\Untitled1.cpp:11: syntax error before `<='
[Error] *\Untitled1.cpp:11: syntax error before `++'
[Error] *\Untitled1.cpp:14: ANSI C++ forbids declaration `vecEnd' with no type
[Error] *\Untitled1.cpp:14: `gClient' was not declared in this scope
[Error] *\Untitled1.cpp:14: `vForward' was not declared in this scope
[Error] *\Untitled1.cpp:15: ANSI C++ forbids declaration `vecEnd' with no type
[Error] *\Untitled1.cpp:15: conflicting types for `int vecEnd[2]'
[Error] *\Untitled1.cpp:14: previous declaration as `int vecEnd[1]'
[Error] *\Untitled1.cpp:15: `gClient' was not declared in this scope
[Error] *\Untitled1.cpp:15: `vForward' was not declared in this scope
[Error] *\Untitled1.cpp:17: syntax error before `.'
[Error] *\Untitled1.cpp:18: syntax error before `.'
[Error] *\Untitled1.cpp:20: ANSI C++ forbids declaration `iEntity' with no type
[Error] *\Untitled1.cpp:20: redefinition of `int iEntity'
[Error] *\Untitled1.cpp:5: `int iEntity' previously declared here
[Error] *\Untitled1.cpp:20: `gEngfuncs' was not declared in this scope
[Error] *\Untitled1.cpp:20: `gVis' was not declared in this scope
[Error] *\Untitled1.cpp:22: ANSI C++ forbids declaration `ent' with no type
[Error] *\Untitled1.cpp:22: `gEngfuncs' was not declared in this scope
[Error] *\Untitled1.cpp:24: parse error before `if'
[Error] *\Untitled1.cpp:53: syntax error before `+='
Complete Compile *\Untitled1.cpp: 25 error(s), 0 warning(s)