How do I convert this c++ function to c#? -
I tried to use online converter but it did not work.
The C ++ function is as follows, I think it is equal to C #.
//! File to save zero (Surf filename, vector & lt; Ipoint & gt; and ipts) {offstream outfile (filename); // output descriptor length outfile & lt; & Lt; "64 \ n"; Outfile & lt; & Lt; Ipts.size () & lt; & Lt; "\ N"; // To create the output line: scale x y for des (unsigned int i = 0; i
I think the stream is serial or may be filestream
Use the class. Using
(Create StreamWriter writer = filetext ("file.txt")) {writer.WriteLine ("64"); // etc}
or async:
using (StreamWriter author = File.CreateText ("file.txt")) {author's Wait. WrititeLineAsync ("64"); // etc}
Comments
Post a Comment