- Download Graphics H For Dev C 2b 2b Windows 10 Download
- Download Graphics H For Dev C 2b 2b Windows 10 32-bit
Download The OpenGL Extension Wrangler Library for free. The OpenGL Extension Wrangler Library is a simple tool that helps C/C developers initialize extensions and write portable applications. GLEW currently supports a variety of operating systems, including Windows, Linux, Darwin, Irix, and Solaris. This tutorial is for those who want to get started with OpenGL using Dev-C. OpenGL is open graphics library created by silicon graphics. It is the specification of some functions that let you draw some shape on the screen.This article makes use of library called GLUT,that works with OpenGL to create and maintain a window. In order to run graphics programs under Dev-C you have to download WinBGIm files. Download the files listed below. Graphics.h (download to C: Dev-Cpp include) libbgi.a(download to C: Dev-Cpp lib) Once you download the files. Now you have to place into the correct location in Dev-C installation folder. Try to locate include and lib folder.
[C Programming]
Hello everyone,
I am Ritwick, now I will guide you to compile source code of graphics.h and winbgim.h .
graphic.h in Windows10 |
Installation of CodeBlocks :
1. Install the 'codeblocks-13.12mingw-setup.exe'.(almost 90MB)Copy-Paste Header and Library file :
4. Download the RAR file from here.3. Exact all files from the RAR file.
4. Open 'Extra' Folder .
5. Copy the two files Graphic.h and Winbgim.h
4. After successful install, Open Installed file location of CodeBlocks. Make a sure CodeBlocks is closed totally.
Default location :
for 64bit PC: C:Program Files (x86)CodeBlocks
for 32bit PC: C:Program FilesCodeBlocks
7. Open MinGW folder from Installed file location of CodeBlocks.
8. Now paste the two files Graphic.h and Winbgim.h to 'Include' folder.
9. Again go to 'Extra' folder and copy libbgi.a
10. Paste libbgi.a to 'lib' folder.
Setup Linker :
11. Now open CodeBlock.12. Open Settings => Compiler
13. Then click to 'Linker settings'.
14. Here you will see 2 box.
15. copy+paste below words to 'Other linker option' (Right side box).
-lbgi -lgdi32 -luser32
16. And for left side (Link Libraries) : click to 'Add' and then click to '...'
17. Find the libbgi.a file that you have already pasted before.
Default location :
for 64bit PC: C:Program Files (x86)CodeBlocksMinGW lib
for 32bit PC: C:
Download Graphics H For Dev C 2b 2b Windows 10 Download
Program Files CodeBlocksMinGW lib18. Now click to OK,OK.
19. Congratulation, now your CodeBlocks is ready to complile graphics.h
20. Open 'Test Graphics.cpp' to CodeBlocks and try to compile it.
Thank You. :)
You may be wondering how to add graphics.h in dev C++. Dev C++ does not support BGI Graphics we have to include graphics library manually. Here are few steps you must follow before using graphics.h header file. .
Download following files to the directories mentioned:
graphics.h Directory:> C:Dev-Cppinclude
libbgi.a Directory:> download to C:Dev-Cpplib)
Creating Project:
- STEP 1: Open DEV C++ Compiler
- STEP 2: Creating New Project
and name your project in the space provided. Select Language
C or C++ according to your need. Press Ok and select the
location where you want to save.
- STEP 4: Set linker parameters
will appear than select 'Parameters' option and type following in
'Linker' field.
-lbgi
-lgdi32
-lcomdlg32
-luuid
-loleaut32
-lole32
- STEP 5: Testing sample Program
project. If there is no any existing source file simply add new file By
chossing new file option from file menu. Type the following code and
save the file. I saved file as 'main.cpp' its your chooice whatever you
name it.
- STEP 6: Compiling and Runing the program
program your output should be somthing like this:
- STEP 7: Find more functions
Download Graphics H For Dev C 2b 2b Windows 10 32-bit
You can comment here if you have any trouble.