Tell me the code or article which describes the opening of the txt file and its output to the console.

  • Specify for which operating system you want it. Depends on it very much. - Mike
  • I use Windows 8.1 - Pavel

1 answer 1

WinApi ReadFile function reads data from a file, WriteConsole function writes a character string to the console screen buffer