スポンサード リンク
Microsoft Visual C++にて以下のソースでコンパイルエラーが発生します:
コンパイルエラーメッセージ:
error C2079: 'testfile' が 未定義の class 'std::basic_ofstream<wchar_t,std::char_traits<wchar_t>>' で使用しています。
ソース(バグ有り):
#include <iostream>
int main( )
{ |
ソース(修正済み):
#include <iostream>
#include <fstream>
int main( )
{ |
スポンサード リンク