Home › Forums › C++ Programming › binary files visual c++ › Re: Re: binary files visual c++
May 14, 2012 at 6:45 pm
#3657
Anonymous
Inactive
I found the solution
1 2 3 4 5 6 7 8 9 10 | CStdioFile file;<br /> CString line;<br /> if(file.Open("color.dat", CFile::modeRead))<br /> {<br /> while(line.IsEmpty())<br /> {<br /> file.ReadString(line);<br /> }<br /> file.Close();<br /> } |