Help required

I am a beginner. does anyone have any code for solving fisheye problem. If anyone has the code in visual Cpp, can you help me with it.
thanks in advance