Uh, do you know C/C++ at all?

How about trying the regular stdio.h for I/O.

cheers