I have a program in c++ that uses graphic.h I want to open it with dos-box but when I try I get this error from dos-box:
BGI Error: Graphics not initialized (use 'initgraph')
I have used initgraph in my program in this way:
gd=DETECT;
initgraph(&gd,&gm,"");