Imam problem. Kada pokusam da izvrsim sledeci kod, Visual C++ 6 mi vrati gresku:
"fatal error C1010: unexpected end of file while looking for precompiled header directive".
Kod je uzet iz nekog primera i trebao bi da radi:
#include <iostream>
#include <fstream>
using namespace std;
int main()
{
int broj;
ofstream dat;
cout << "Upisi neki broj: " << endl;
cin >> broj;
dat.open("proba.txt");
dat << broj;
dat.close();
cout << "Broj je upisan u datoteku" << endl;
return 0;
}
Gde je problem?