Skip to content

Academic Lab Course | 18th Batch | Computer Science & Engineering (CSE) 📍Mawlana Bhashani Science and Technology University (MBSTU)

Notifications You must be signed in to change notification settings

MdMasum23/Computer-Graphics-Lab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Computer Graphics Lab (CSE-3206)

This repository contains implementations of various Computer Graphics Lab Tasks using C++ and the graphics.h library.

Graphics Programming Setup with TDM-GCC and Code::Blocks

To set up your system for running C++ graphics programs:

  1. Download TDM-GCC 32-Bit Compiler:

  2. Download Graphics Library:

    • Graphics Library
    • Extract the library and move:
      • graphics.h and winbgim.h to C:\TDM-GCC-32\include.
      • libbgi.a to C:\TDM-GCC-32\lib.
  3. Configure Code::Blocks:

    • Open Code::Blocks → Settings -> Compiler.
    • Set Compiler's installation directory to C:\TDM-GCC-32.
    • Go to Linker Settings -> Other Linker Options and add:
      -lbgi -lgdi32 -lcomdlg32 -luuid -loleaut32 -lole32  
      
  4. Run a Graphics Program:

    • Open a .cpp file, build, and run it in Code::Blocks.

Moving Car and Sun Output:

Moving Car and Sun

natural scenery Output:

natural scenery Output

Happy Coding! 🎉

About

Academic Lab Course | 18th Batch | Computer Science & Engineering (CSE) 📍Mawlana Bhashani Science and Technology University (MBSTU)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published