Skip to content

小抄速记

I/O

#include<stdlib.h>

  • scanf() to read from stdin
  • sscanf() to read from the command line
  • printf() to write to stdout
  • fprintf() to write to stderr