How to create a file in %temp% folder using C program. Please provide me some Ideas on it.
I am programming in windows using Mingw.
Update:
I want the file to be in .log or .txt format. How to do that?
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.
GetTempPath+GetTempFilenameExample here