I used this and it crashed on some system:
char s[8192]
I just need to print it to the console and then save it to a file as log.
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.
Try to use a pointer instead of this
char s[8192]if size is doubtful.I recommend you to do this kind of thing:
Reference