You could also use Standard C File I/O routines if you want.

Notice that all the character and string I/O routines have a wide, uincode version as well. For example, fwprintf() and fwscanf().

gg