Can anybody tell me that how can i open file and write it in winform C++? i have googled alot and searched msdn but could not find appropriate help. I also tried using fstream's objects but they were declared unidentified on winform. what can i just do? what stream class should i use? please also specify its header file.
i have tested this simple piece of code before. actually, in winform compiler is not detecting fstream. it is giving error of "unidentified object". is there any other object like fstream? i have read about "STREAMREADER" and "STREAMWRITER" in msdn. are they useful in winform?
i actually used visual c++ 2008 express. also on visual studio 2008, but compiler raised error in detecting stream object. well i dont know which compiler i m using, well i m trying to figure out my mistake. i will post message after some days seeing situation. thanx 4 help.