How would i get a string with the null character \x00 since \x00 is also the terminating character?
I really do need it for part of my program.
The string I need is “\x00\x00\x00\x00”. Is there some special syntax for it? What is it?
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.
This constructor tells string to use the 1st 4 characters of the char*, without interpreting any \0 characters as null.