2018-07-01から1ヶ月間の記事一覧
C++のstreamで出力フォーマットをstd::setwを使って整数値を出力する以下のプログラムを作成した。 Test setw コンパイルしたところ setw’ is not a member of ‘std’ と出てエラー。 #include <iomanip> が無かったのが原因だった。 iomanipがインクルードされていな</iomanip>…
C++のstreamで出力フォーマットをstd::setwを使って整数値を出力する以下のプログラムを作成した。 Test setw コンパイルしたところ setw’ is not a member of ‘std’ と出てエラー。 #include <iomanip> が無かったのが原因だった。 iomanipがインクルードされていな</iomanip>…