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