I have learned c++ over a long period of time and i have decided to use it to create windows programs with it. Right now, I am just practicing. I have made a window with three menus at the top. when you click one of the menuitems, a dialog box should appear asking whether or not the user likes my program or not. If you press Good (which is actually an IDOK) it should write to a text file "good" and if you click bad (which is actually IDCANCEL, I know, i could have used YES and NO) then it should write to the text file "bad". What api shall i use for the file i/o. because i have never used file i/o in win api programming. should i use createfile() and writefile()?