I think the program requires C.
Here's your program.
Hope this helps/.
Which document are you referring to?
If you wnat to download the c file here's the link:-
Yes the program is in C.
Note the .c extension.
I developed it in visual C 2008.
There are several other iDE's available like dev C++,Miracle C.