При компиляции выдает ошибку: [BCC32 Error] Analitik_panel.h(105): E2094 'operator>>' not implemented in type 'fstream' for arguments of type 'UnicodeString'
//---------------------------------------------------------------------------
#ifndef Analitik_panelH
#define Analitik_panelH
//---------------------------------------------------------------------------
#include <Classes.hpp>
#include <Controls.hpp>
#include <StdCtrls.hpp>
#include <Forms.hpp>
#include "Chart.hpp"
#include "TeEngine.hpp"
#include "TeeProcs.hpp"
#include <ADODB.hpp>
#include <DB.hpp>
#include <ExtCtrls.hpp>
#include "Series.hpp"
#include <DBGrids.hpp>
#include <Grids.hpp>
#include <vector.h>
#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <fstream>
#include <string.h>
//---------------------------------------------------------------------------
class TAnalitikPanel : public TForm
{
__published: // IDE-managed Components
TADOQuery *ADOQuery1;
TChart *Chart1;
TComboBox *ComboBox1;
TPieSeries *Series1;
TRadioGroup *RadioGroup1;
void __fastcall FormCreate(TObject *Sender);
void __fastcall ComboBox1Select(TObject *Sender);
void __fastcall RadioGroup1Click(TObject *Sender);
private: // User declarations
public: // User declarations
__fastcall TAnalitikPanel(TComponent* Owner);
};
//---------------------------------------------------------------------------
extern PACKAGE TAnalitikPanel *AnalitikPanel;
//---------------------------------------------------------------------------
#endif
struct VipList {
String familia, name_imuchestvo;
int kolichestvo;
};
class analitik{
vector<VipList>vip;
public:
void tester(){
fstream f_in("data.txt");
VipList tmp;
while (!f_in.eof()) {
f_in >> tmp.familia >> tmp.name_imuchestvo >> tmp.kolichestvo ; // указывает на эту строчку
vip.push_back(tmp);
}
}
};