I'm using visual studio 2010 and I'm writing a c++ win32 application(not a console application). I need to know how to write to a file from this application. so far my application runs properly but when I tried to include iostream and fstream in my project the compiler gave me errors.
I need to know what libraries I should include so I can write to a file and I need to know what function I should use to do this task.
Another thing I need is how can I move from a character to another and from a line to another inside the file.
I am sorry for all the requests but I'm in desperate need to learn those things. Thank you...