I/O in MC++.
-
Hi, i wanna read text file . my text file contain double value ! i wanna read this double value & copy them in array of double in MC++ . But i can not understand. is anyone help me? Best Regards.
-
Hi, i wanna read text file . my text file contain double value ! i wanna read this double value & copy them in array of double in MC++ . But i can not understand. is anyone help me? Best Regards.
Proper C++ will do this for you, iostreams allow you to specify what you expect to read. I'm not sure if the System.IO namespace does this, or if you need to parse the string yourself. Christian Graus - Microsoft MVP - C++
-
Proper C++ will do this for you, iostreams allow you to specify what you expect to read. I'm not sure if the System.IO namespace does this, or if you need to parse the string yourself. Christian Graus - Microsoft MVP - C++
Hi, Thanks a lot. I use StreamReader and then readLine() then parse string ! But i found i can open file in binary ,then select which type i wanna read. Best Regards. Mostafa