It’s about 35814; it’s about static writing and final writing! >>
1. For example:
char my_array[10];
*(int *)my_array = 0xaabbccdd;
2. Amendment is the most serious problem:
char my_array[10];
int tmp =0xaabbccdd;
memcpy(my_array, & tmp, sizeof(tmp));
Similar Posts:
- C++ Error: Run-Time Check Failure #2 – Stack around the variable ‘cc’ was corrupted.
- deprecated conversion from string constant to char*
- [How to Solve]error: invalid array assignment
- To solve the problem of ioerror: decoder JPEG not available in pil under OSX
- [Solved] 0xC0000374: A heap has been corrupted !
- MySQL: invisible empty symbol char (9) char (10) char (13)
- How to Use Array.prototype.slice.call(arguments)
- [Solved] Java Call Error: java.lang.IllegalArgumentException: wrong number of arguments
- [Solved] Warning: deprecated conversion from string constant to ‘char*’ [-Wwrite-strings]
- [Solved] Arrays.asList() Error: java.lang.UnsupportedOperationException