Sorry, English is not my native language; please excuse typing errors.
Visual Studio Version: Microsoft Visual Studio Professional 2022 (64-bit) 17.2.5
In my limited experience with I don't now why does my C++ program have 0xC0000005 error, and the program seems to access the address 0x0000000000000000. The code pointed to by the error is the 398th Line of xstring:
return __builtin_strlen(_First);
I' ve looked around and apparently I've got the choice between these libraries/ solutions:
- Set optimization to "disabled (/OD)"
- Clean up the solution and rebuild the solution
Wanted to know if it's good practice to do that and what would be the best way to do that? I tried to add a breakpoint to the first line of the program, but it didn't seem to work. The program continued to execute until an error was reported.
Thanks in advance.