Access violation!
You’re touching some parts of memory which probably is forbidden to your program. Dereferencing a pointer which points to an unknown place is undefined behavior.
More Related Contents:
- Char* combining [closed]
- What is an ‘undeclared identifier’ error and how do I fix it?
- How to create a generic object model for use in QML?
- Does “Undefined Behavior” really permit *anything* to happen? [duplicate]
- Comparing a variable to a range of values
- Is it better in C++ to pass by value or pass by reference-to-const?
- Can the arguments of main’s signature in C++ have the unsigned and const qualifiers? [duplicate]
- GCC issue: using a member of a base class that depends on a template argument
- std::queue iteration
- Most accurate way to do a combined multiply-and-divide operation in 64-bit?
- Measuring memory bandwidth from the dot product of two arrays
- How do I use unique_ptr for pimpl?
- What is std::decay and when it should be used?
- get absolute value without using abs function nor if statement
- Does “undefined behaviour” extend to compile-time?
- Preventing a MEX file from crashing in MATLAB
- Is there any case where a return of a RValue Reference (&&) is useful?
- C++ : Creating an array with a size entered by the user
- Who defines C operator precedence and associativity?
- What is Linux’s native GUI API?
- How to use the priority queue STL for objects?
- Align cout format as table’s columns
- pair pair as key of unordered_map issue
- When pass a variable to a function, why the function only gets a duplicate of the variable?
- Convert Lat/Longs to X/Y Co-ordinates
- Dependent name resolution & namespace std / Standard Library
- xcode update to version 2395. ld compile problem occurs: computedAtomCount && “more atoms allocated than expected
- Can I use the result of a C++17 captureless lambda constexpr conversion operator as a function pointer template non-type argument?
- Why isn’t memcpy guaranteed to be safe for non-POD types?
- Getting a list of user profiles on a computer in C++ Win32