Questions tagged [winbgi]

Emulation of Borland's BGI (Borland Graphics Interface)

Emulation of Borland's BGI (Borland Graphics Interface)

This is also called WinBGIm.

27 questions
0
votes
0 answers

The cleardevice(); and the following statements is not being executed

I am setting up a slot machine with 3 squares that blink alternatively using double buffering; the while loop is infinite and stops using kbhit() (Which I believe is the mistake), even though the loop stops the commands in the if condition is not…
0
votes
1 answer

Manually Programming a clickable button on Borland Graphic Interface

I'm doing an editor right now, and I need to do a clickable button on BGI (it has to be on it). Right now I did something like using outtextxy, gave the coordinates then I made an if using coordinates got by mousex and mousey, if it is equal to the…
Hipreme
  • 68
  • 1
  • 5
0
votes
0 answers

Why do I get fatal error:sstream no such file or direcrory in graphics.h in codeblocks?

I want to use graphics.h in codeblocks 16.01 . I have downloaded winbgi library and copied graphics.h and winbgim.h in include folder of codeblocks and libbgi.a in lib folder but when I am using it in a program I am getting: error-fatal…
Shashi
  • 19
  • 1
  • 5
0
votes
1 answer

How to use swapbuffers in Graphics.h

So atm im using swapbuffers in this code to refresh it: #include "graphics.h" void drawGridOnX(int xtotal, int ytotal); int levelcode[400][45][100]; void decodelevelAndDraw(); void main() { initwindow(1600,…
MoustacheSpy
  • 743
  • 1
  • 6
  • 27
0
votes
0 answers

Fullscreen in VS 2010 using WinBGIm library

I was using Borland C++ 3.1 (mostly for graphics purposes), and to open program in fullscreen mode I was using Alt + Enter combination. But lately, I had to switch to Visual Studio 2010, and to continue work with graphics I installed WinBGIm…
-1
votes
1 answer

About graphics.h, winbgim.h and libbgi.a libraries in codeblock

I added the full library graphic.h, winbgim.h, libbgi.a and its path in linker setting and other linker but it didn't work and it showed an error: ld.exe cannot find -lbgi
-1
votes
1 answer

Not able to compile C++ program with libbgi.a on Netbeans (Cygwin)

I am trying to compile an old graphics.h based animation program. I downloaded libbgi.a and its associated header files from WinBGIm and followed instructions from here (It was for Codeblocks but I tried to follow similar steps for Netbeans). When I…
kiner_shah
  • 3,939
  • 7
  • 23
  • 37
-1
votes
2 answers

Codeblocks isn't showing graphics window

I have tried to learn about graphics using codeblocks , and have initialized the graphics header to my library , every graphics code builds and compiles , and shows : Process returned -1073741819 (0xC0000005) execution time : 2.776 s Press any key…
-1
votes
1 answer

BGI in updated wxDevCpp does not work

I need to use BGI graphics in my program and it worked just fine in the wxDevCpp 7.3. But now I installed an updated version of this IDE 7.4, did everything by instruction http://www.cs.colorado.edu/~main/bgi/dev-c++/, just like before, but now when…
user3496846
  • 1,627
  • 3
  • 16
  • 28
-2
votes
1 answer

Acess violation upon using fopen to write to a file in VS2015

So im gonna make this very quick. Im trying to run a code that worked in codeblocks before but i really wanna get it to work in visual studio for personal reasons. This is the error: Exception thrown at 0x77EB9F83 (ntdll.dll) in bgi.exe: 0xC0000005:…
MoustacheSpy
  • 743
  • 1
  • 6
  • 27
-2
votes
2 answers

How can i display partly-transparent pictures in Graphics.h

For creating a small game for a competition in class we are using graphics.h I wanna make a small platformer and I need transparent backgrounds for the player sprites. How can i accomplish this? I am using visual studio 2015 community edition and…
MoustacheSpy
  • 743
  • 1
  • 6
  • 27
-2
votes
3 answers

not able to run graphics in DEV C++

Unable to run the graphics from following process in DEV C++ process Install DevC++. I installed from the Version 4.9.9.2 Setup File. Download graphics.h to the include/ subdirectory of the Dev-C++ directories. Download libbgia. to the lib/ In order…
user2556064
  • 27
  • 1
  • 1
  • 3
1
2