Error

Why this error occur ?

Exception thrown: read access violation.

this was nullptr.
Hello jasper hall,

42 https://www.youtube.com/watch?v=aboZctrHfK8

http://www.catb.org/esr/faqs/smart-questions.html

With out the code and the complete error message I have no idea what is happening.

Andy
Sounds like your classic PICNIC problem.
https://en.wiktionary.org/wiki/PICNIC
You can't read a nullptr:
1
2
int *ip=nullptr;
int i = *ip;   // illegal and usually crashes the program with a read access violation. 

Topic archived. No new replies allowed.