Graphics window not showing using graphics.h in C


I'm trying to work with graphics.h outside the difficult-to-handle Turboc++(like codeblocks-20.03mingw), first when i first tryed to install separately graphics.h, winbgim.h and libbgi.a using traditional ways, i found some errors, one by one fixed them, but now the code here

    int gm,gd=DETECT;

with result
=== Build failed: 0 error(s), 0 warning(s) (0 minute(s), 0 second(s)) ===
is causing the program to start the console window with the message
Process returned -1073741819 (0xC0000005) execution time : 2.661 s Press any key to continue.
but not showing graphics window afterwards(as I expected), i'm on Windows 10 Pro 1909 (64bit OS).

Please tell me how to fix this,

asked on Stack Overflow Jun 19, 2020 by Ammar Mujtaba Tariq • edited Jun 19, 2020 by Ammar Mujtaba Tariq

0 Answers

Nobody has answered this question yet.

User contributions licensed under CC BY-SA 3.0