Skip to content
Snippets Groups Projects
Select Git revision
  • 9b0f965f536dc987697ca635f172c8e93f381fce
  • master default protected
2 results

anleitung_linux_openai-gym.tex

Blame
  • fhello-6.c 234 B
    #include <stdio.h>
    #include <errno.h>
    #include <error.h>
    
    int main (void)
    {
      FILE *f = fopen ("fhello.txt", "w");
      if (!f)
         error (errno, errno, "cannot open file");
      fprintf (f, "Hello, world!\n");
      fclose (f);
      return 0;
    }