Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

how to creat graphics in geb?

+2 votes
asked Mar 15 by kunjal kanani (330 points)

1 Answer

0 votes
answered Mar 16 by Peter Minarik (22,320 points)
What is geb? Maybe provide a link?

Also, it should have documentation online.

How does this relate to OnlineGDB?

Unless you mistyped it and you meant GDB (not geb), which really should have been OnlineGDB.

In that case the answer is that you can only do character graphics. No 3D or 2D grahics is supported as far as I know.
commented Mar 19 by kunjal kanani (330 points)
what is coding for simple graphics like line circle etc...??
commented Mar 23 by Peter Minarik (22,320 points)
It's really not straight forward.
First of all, it only works on a host machine (you cannot use it on Online GDB).
Second, you need to use some graphics library, such as OpenGL or DirectX.
It's really not a few lines of code...

You can read more about DirectX here: https://docs.microsoft.com/en-us/windows/win32/directx
And about OpenGL here:  https://www.khronos.org/opengl/wiki/Getting_Started
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...