Hello,, I'v had some problem,,, when i read a file,using visual C++ 2005.
example:
a.txt
111,222,333,
444,555,666
with this code :
StreamReader^ din = File::OpenText(fileName);
String^ str;
int count = 0;
while ((str = din->ReadLine()) != nullptr)
{
count++;
Console::WriteLine("line {0}: {1}", count, str );
}
How can I, convert str, from string to char(array of char).
cause, if in array, I can easy split the content of that file.
thanks..