跳转到内容

Compiler 2015: Standard libraries

来自ACM Class Wiki

Low-level access functions

 malloc ...
 int getchar ( void )
 int putchar ( int character )

Standard library functions

 strcpy
 strcmp
 strcat
 ...
 printf
 scanf
 ...

Some remarks

  • When implementing printf you should at least support these parameters: "%d", "%s", "%c", "%.nd" where 1<=n<=9.
  • When implementing scanf you should at least support these parameters: "%d".