Movatterモバイル変換


[0]ホーム

URL:


cppreference.com
Namespaces
Variants
    Actions

      Standard library header <stdbool.h> (C99)(deprecated in C23)

      From cppreference.com
      <c‎ |header
       
       
       

      This header provides macros forboolean type.

      Macros

      bool
      (C99)(removed in C23)
      convenience macro, expands to_Bool
      (keyword macro)

      Macro constants

      true
      (C99)(removed in C23)
      expands to integer constant1
      (macro constant)
      false
      (C99)(removed in C23)
      expands to integer constant0
      (macro constant)
      __bool_true_false_are_defined
      (C99)(deprecated in C23)
      expands to integer constant1
      (macro constant)

      [edit]Synopsis

      #if __STDC_VERSION__ < 202311l#define bool _Bool#define true 1#define false 0#endif #define __bool_true_false_are_defined 1
      Retrieved from "https://en.cppreference.com/mwiki/index.php?title=c/header/stdbool&oldid=180187"

      [8]ページ先頭

      ©2009-2025 Movatter.jp