This code no longer works on modern versions of Windows. The version of "msvcrt.dll" you received is a private CRT implementation for Windows executables that has been subjected to unnecessary misunderstanding, possibly something related to security.
, . , โโVisual Studio 2010 . c:\windows\syswow64 msvcrxxx.dll, xxx - 100, 110 120. . VS2013:
[DllImport("msvcr120.dll")]
public static extern int puts(string c);
[DllImport("msvcr120.dll")]
internal static extern int _flushall();
: