运行下列代码后出现“0x74343800 (vcruntime140.dll)处(位于 俄罗斯.exe 中)引发的异常: 0xC0000005: 读取位置 0x01101000 时发生访问冲突。
0x74343800 (vcruntime140.dll) (俄罗斯.exe 中)处有未经处理的异常: 0xC0000005: 读取位置 0x01101000 时发生访问冲突。”,但我百思不得其解,十分疑惑;有大佬能跟我说一下原因吗?
```c++
#include<SFML/Graphics.hpp>
#include<SFML/Audio.hpp>
#include<time.h>
using namespace sf;
int main(void) {
RenderWindow window(
VideoMode(372, 485),
"Tetris-2020");
Texture p1;
p1.loadFromFile("image/pic.jpeg");
Sprite spriteBg(p1);
window.draw(spriteBg);
window.display();
system("pause");
return 0;
}
```