Code Monkey home page Code Monkey logo

project's Introduction


How to know more windows.h header file?
You just to need to go https://docs.microsoft.com/en-us/windows/win32/winprog/using-the-windows-headers if you stack with docomentation just simply go https://stackoverflow.com it will help you a lot. if you want to use this header file you must stay in windows operating system otherwise you will get an error.

How to Add Graphics.h header file??
DEV c++ Ide and External Graphics Library:

To develop this Paint Program, We will be using the DEV c++ IDE (Integrated Development Environment) , Which you download from the official site of DEV c++ (http://www.bloodshed.net/devcpp.html), Also for handling the graphics we will be using the WinBGIm Graphics Library provided by the Computer Science department of Colorado University the full tutorial to implement the WinBGIm Graphics Library into Dev C++ ide can be read from the official site of WinBGIm Graphics Library (http://www.cs.colorado.edu/~main/bgi/dev-c++/ ).

Also the official documentation regarding the available functions and method that can used in the Graphics Library are provided by the official site of the library (http://www.cs.colorado.edu/~main/bgi/doc/ ) Preparation for program:

So to get started first of all download the latest version of DEV c++ , also download the Graphics Library and header file from the links provided above.

Then:

Copy the graphics.h file and paste it to the Include folder of Dev c++ ; usually it is: “C:/Dev-Cpp/include”� but it may vary according to the path where you install the dev c++ Ide.

Now copy the copy the libbgi.a file and paste it in the library folder of dev c++ ide ; usually it is:

“C:/Dev-Cpp/lib”�

Now open the DEV c++ IDE and click on :

file>new>project>empty project

and choose a path where you would like to save your project and project name.

Now click on:

file>new>source file

Now click alt+p or click on: project>project option

And then click on “Parameters”� tab and paste following code in the text field below linker:

-lbgi

-lgdi32

-lcomdlg32

-luuid

-loleaut32

-lole32

Now you are ready to code.

project's People

Contributors

saifbashar avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.