最終更新日時(UTC):
が更新

履歴 編集

function
<cstdio>

std::printf

namespace std {
  int printf(const char * format, ...);
}

概要

標準出力に、指定された書式文字列を使用してデータを出力する。

#include <cstdio>

int main() {
  int n = 123;
  std::printf("Hello, World!\n%d\n", n);
}

出力

Hello, World!
123

処理系