filmov
tv
C++ tutorial||solved|| how to run graphics program in code blocks without any error(graphics.h)

Показать описание
///////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
~written instruction~
Hello YouTube this is bosster97 today I am going to show you how to download and install code block into your computer and how you can run graphics program in code block without any error.
First download code blocks software.
Then click on download option
Click on “download the binary release”
Wait until it download
I already have downloaded the setup
Now I am going to install it
Double click on code blocks setup
Click on next next unless it start installing, don’t change installation path.
It will take some time for installation
how to download install code blocks
how to download and install code blocks
After installation, we need some header files to run graphics
Click on the first link and download the file
Now extract the downloaded file
# how to install code blocks
How to open the graphic.h file in notepad and go to line number 302 and replace the word right with top and save it as I show you
Now copy the graphics.h and wibgim.h file and paste in header file directory
# how to install code blocks and how to run graphics program in code blocks
Now copy the libbgi.a file and paste in code block’s lib folder
Now open code blocks and go to settings then compiler then linker setting
Click on add button and browse libbgi.a file which is we copied in lib folder
After that copy the command from the description and paste them in right section which is other linker option. Then click ok
Now we are done
Now try to run graphics program to check whether it is working or not
Program is build and run successfully
Thanks for watching. Please like and subscribe
how to run graphics program code blocks
///////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////
~written instruction~
Hello YouTube this is bosster97 today I am going to show you how to download and install code block into your computer and how you can run graphics program in code block without any error.
First download code blocks software.
Then click on download option
Click on “download the binary release”
Wait until it download
I already have downloaded the setup
Now I am going to install it
Double click on code blocks setup
Click on next next unless it start installing, don’t change installation path.
It will take some time for installation
how to download install code blocks
how to download and install code blocks
After installation, we need some header files to run graphics
Click on the first link and download the file
Now extract the downloaded file
# how to install code blocks
How to open the graphic.h file in notepad and go to line number 302 and replace the word right with top and save it as I show you
Now copy the graphics.h and wibgim.h file and paste in header file directory
# how to install code blocks and how to run graphics program in code blocks
Now copy the libbgi.a file and paste in code block’s lib folder
Now open code blocks and go to settings then compiler then linker setting
Click on add button and browse libbgi.a file which is we copied in lib folder
After that copy the command from the description and paste them in right section which is other linker option. Then click ok
Now we are done
Now try to run graphics program to check whether it is working or not
Program is build and run successfully
Thanks for watching. Please like and subscribe
how to run graphics program code blocks
Комментарии