Process returned -1073741819 (0xC0000005) with graphics.h

-2

When i use the library for any code with methods from graphics, i get the error Process returned -1073741819 (0xC0000005). Why is this happening? and how to solve this memory leak problem

#include <graphics.h> 
int main() 
{ 
    initwindow(400,300); 
    moveto(0,0); 
    lineto(50,50); 
    getch(); 
    closegraph(); 
    return 0; 
}
c++
bgi
asked on Stack Overflow Jul 11, 2018 by Кирилл Тимофеев • edited Jul 11, 2018 by Spektre

0 Answers

Nobody has answered this question yet.


User contributions licensed under CC BY-SA 3.0