evildictaitor wrote:
Unless you have good reason not to, always use the safe libraries.

I think a good reason is that fopen_s doesn't exist in glibc and is not POSIX compliant. If you're going to lock yourself into VC++ with Microsoft CRT extensions, you might as well be using C#.