我需要这样做:
#include <fstream>
...
ofstream myStream
private: System::Void start_Click(System::Object^ sender, System::EventArgs^ e) {
//open ofstream
}
private: System::Void timer1_Tick(System::Object^ sender, System::EventArgs^ e) {
//write to ofstream
}
这可能吗?
提前致谢。