Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Create account
Namespaces
Variants
    Views
    Actions

      getwchar

      From cppreference.com
      <c‎ |io
       
       
      File input/output
      Types and objects
      Functions
      File access
      Unformatted input/output
      (C95)(C95)
      (C95)
      (C95)(C95)
      (C95)
      getwchar
      (C95)
      (C95)

      Formatted input
       
      Defined in header<wchar.h>
      wint_t getwchar(void);
      (since C95)

      Reads the next wide character fromstdin.

      Contents

      [edit]Parameters

      (none)

      [edit]Return value

      the obtained wide character orWEOF if an error has occurred or the end of file reached

      [edit]References

      • C11 standard (ISO/IEC 9899:2011):
      • 7.29.3.7 The getwchar function (p: 424)
      • C99 standard (ISO/IEC 9899:1999):
      • 7.24.3.7 The getwchar function (p: 369-370)

      [edit]See also

      reads a character fromstdin
      (function)[edit]
      gets a wide character from a file stream
      (function)[edit]
      C++ documentation forgetwchar
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/io/getwchar&oldid=89375"
      Navigation
      Toolbox
      • In other languages

      [8]ページ先頭

      ©2009-2025 Movatter.jp