3
Answers

ofstream equivalent in C#

david.khoy

david.khoy

21y
4.5k
1
Hi everyone, I have to convert the following C++ lines in C# : ofstream ParamFile("../filename.txt", ios::trunc); ParamFile << a_variable; ParamFile.close(); I have no idea of how to write it in C#. I also wonder how you start a Java program via C# code. With C++, it was simply : system("nameofthefile.bat"); Thanks for reading this post.
Answers (3)