ANSI C

It's basically C++.

The switch shouldn't be too painful, once you sort out which libraries you are using.