다음을 통해 공유


<cstdio>

전통적으로 <stdio.h>는 표준 C 라이브러리 헤더에 정의 된 매크로 정의 합니다.

#if <TRADITIONAL C HEADERS>
   #include <stdio.h>

#undef clearerr
#undef feof
#undef ferror
#undef getc
#undef getchar
#undef putc
#undef putchar

namespace std {
   using ::fclose; 
   using ::feof;
   using ::ferror; 
   using ::fflush; 
   using ::fgetc;
   using ::fgetpos; 
   using ::fgets; 
   using ::FILE;
   using ::clearerr; 
   using ::fopen;
   using ::fprintf; 
   using ::fpos_t;
   using ::fputc; 
   using ::fputs;
   using ::fread; 
   using ::freopen; 
   using ::fscanf;
   using ::fseek; 
   using ::fsetpos; 
   using ::ftell;
   using ::fwrite; 
   using ::getc; 
   using ::getchar;
   using ::gets; 
   using ::perror;
   using ::putc; 
   using ::putchar;
   using ::printf; 
   using ::puts; 
   using ::remove;
   using ::rename; 
   using ::rewind; 
   using ::scanf;
   using ::setbuf; 
   using ::setvbuf; 
   using ::size_t;
   using ::sprintf;
   using ::sscanf; 
   using ::tmpfile; 
   using ::tmpnam;
   using ::ungetc; 
   using ::vfprintf; 
   using ::vprintf;
   using ::vsprintf;
}
#endif

설명

이 헤더를 포함 하 여 또한 유지할 수 이름을 사용 하는 표준 C 라이브러리 헤더에서 외부 링크를 선언에 선언 되는 std 네임 스페이스입니다.이 구현에서 이름을 수도 있고 또한 특정 번역 환경에 따라 전역 네임 스페이스를 선언할 수 없습니다.

참고 항목

참조

표준 C++ 라이브러리 개요

표준 C++ 라이브러리에서 스레드로부터의 안전성

기타 리소스

헤더 파일