i am a beginner and want to file handling concept in win32 application for writing anything say text in file which is present in some location on hard disk.
Please Reply
Thanks in advance…
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You can do in this way
Suppose there is a folder called “XYZ” at “E:” drive & the file name is “abc.log” and the
function which u call is say “WSL”.
//Function definition:
and at main function u r coding the following:
This will write two time at abc.log file since it is called twice in your main function.
First time it will print…
& second time it will print