You need Visual C++. Well maybe some coder's will be angry on me for this , but i am shure that also many of them already know that and i am a bit sick to see this code again and again with the same thing "how to make it work" , CF's kick function is server sided , your game only get a packet from the server that you were kicked even if you block that packet still the server will dc you so there is no way for this.
On short that source code is only a funny joke , it's fake.
That is not a ready to C+P code , as it is a fake most possible there are error's to anyway to C+P that code you need a DLL Main function , etc ....
funny to see people that dont know nothing about c++ and just ask full code from game hacking forums, you need know how a .dll work first, then create hack