Behold, a harmonious symphony of technology unfolds as we embark on a journey to seamlessly integrate the illustrious graphics.h library within the confines of Visual Studio Code. Fear not, for this orchestration of code artistry presents no discord to your default 64-bit MinGW compiler; rather, it dances in perfect harmony, side by side, in a ballet of digital creativity.
- Download and copy the TDM-GCC-32 folder to your C drive from this link
- Download this repository as a zip file and extract it.
git clone https://github.com/masud70/Computer-Graphics-Lab.git
- Download and install TDM-GCC-32 from this link
- Run the .exe file
- Create -> MinGW/TDM(32-bit) -> next -> next -> ...
- Download this repository as a zip file and extract it.
git clone https://github.com/masud70/Computer-Graphics-Lab.git
- Copy
graphics.h
andwinbgim.h
files toTDM-GCC-32/include
folder. - Copy
libbgi.a
to file toTDM-GCC-32/lib
folder.
- Don't forget to install the following VSCODE extensions:
- C/C++
- Code Runner
- exe Runner
- That's it. Now open the
circle.cpp
file and compile and execute by running commandCtrl + Shift + B
.
- Always write your code in the home/src folder.
- Don't forget to give a STAR to this repository.