bgi Questions

6

Solved

I am trying to compile a program which includes the graphics.h header file for C. I have added the graphics.h and winbgim.h header files in the include folder and also libbgi.a to lib folder. Just...
Bellebelleek asked 8/1, 2015 at 11:28

2

#include<graphics.h> #include<stdio.h> main() { int gd=DETECT,gm; int i,x,y; initgraph(&gd,&gm,""); line(0,0,640,0); line(0,0,0,480); line(639,0,639,480); line(...
Antagonize asked 18/7, 2015 at 7:59

5

Solved

I have been searching to get the source code of the header file <graphics.h> and its associated library in order to integrate it with my C++ program. At the same time, I am interested in tho...
Salmonoid asked 22/10, 2011 at 15:27

2

Solved

I am working on C graphics program, where I will ask for Projection Angle from end user and then will use that angle to launch the rocket from earth (circle) surface. But I am not able to do so. He...
Contagion asked 27/6, 2021 at 4:5

6

I have recently started learning graphics in C++. I tried #include <graphics.h> in my program in codeblocks but it shows error. Then I downloaded graphics.h header from a site and pasted in ...
Namara asked 1/12, 2013 at 15:2

1

Solved

In the BGI library's "graphics.h" header there is a function pieslice in that header file,its syntax is: #include <graphics.h> void pieslice(int x, int y, int stangle, int endangle, int rad...
Vedda asked 3/10, 2019 at 15:44

2

Solved

I have entered the following code in turbo c++. #include<graphics.h> #include<conio.h> int main() { int gd= DETECT, gm; initgraph(&gd,&gm,"D:\\TC\\BGI"); getch(...
Jetliner asked 14/1, 2014 at 10:23

1

Solved

I am trying to add orange color to my graphics code program. I am using putpixel(int x, int y, int color) function to add color. This function is not allowing to me to do so. Here's my code , Pleas...
Jape asked 6/1, 2018 at 8:24

1

Solved

I had setup the graphics file necessary for the execution of the graphics code in CodeBlocks from the following sites:- http://www.codewithc.com/how-to-include-graphics-h-in-codeblocks then I tri...
Heterogeneity asked 19/1, 2017 at 11:34

4

Solved

I just moved to Linux for just a month. I've used Borland Turbo C for C programming but some of these functions do not work in GNU/Linux, so looking for help. These are some of the functions I wou...
Galenic asked 16/8, 2011 at 14:36

1

I have just started using Graphics in C, and I encountered this error while running a simple program that draws concentric circles: user@user:~/Documents/C$ gcc circle.c -lX11 -lgraph user@user:~/...
Intensity asked 20/6, 2015 at 11:0

1

I write this program in a code block, but I am having an error stray 302 in int86(0x33, ®s, ®s);. My program is: #include <stdio.h> #include <dos.h> #include <conio.h> #include &l...
Flog asked 3/12, 2015 at 5:16

3

Solved

Here is an example of the sort of C program one could write in the old days: #include <graphics.h> #include <stdlib.h> #include <stdio.h> #include <conio.h> void mai...
Kevon asked 6/5, 2014 at 21:37

6

Solved

I want to run a C program that draws a circle. The program is compiling with no error and it is running. After getting the values like radius from the user, I get the error like this : BGI error:...
Figurehead asked 30/9, 2011 at 4:27

5

Solved

I have a C++ program (.cpp) inside which I wish to use some of the functions which are present inside the C header files such as stdio.h, conio.h, stdlib.h, graphics.h, devices.h etc. I could incl...
Houseboat asked 25/7, 2010 at 12:20
1

© 2022 - 2024 — McMap. All rights reserved.