dear sir...
i got a confusing of this...
ifstream is;
Char c, temp_isi_file[100];
int i;
is.open ("b.a");
memset(temp_isi_file,'\0',100);
while (is.good()) // loop while extraction from file is possible
{
c = is.get();
if (is.good())
if (c==',')
{
//cout << temp_isi_file << ":" ;
textBox1->Text = Convert::ToString(temp_isi_file);
i=0;
c='\0';
memset(temp_isi_file,'\0',100);
}
else
{
temp_isi_file[i]=c;
i++;
}
}
label2->Text = Convert::ToString(temp_isi_file);
when I, show temp_isi_file to textbox,, the value is true. but I think, it should be the content of my file b.a. So, I don't know how to get the value "temp_isi_file"???
And then, I wanna convert the value "temp_isi_file" to binary. did I true to convert the file by convert it per temp_isi_file??
b.a
11111,33333,4444
temp_isi_file value, it should be 11111 and then 33333, 4444.
thanks before...