+ 1
difference between graphics in c and html
we can draw shapes in c using graphics. h and in html we can make them using canvas. then what is the best way to draw shapes?
4 Réponses
+ 8
jaya kumar
Canvas and svg are used for graphic and animation.
graphics.h is obsolete and should never be used. It comes with Turbo C++, and has never been part of standard C++. There are modern and much better GUI libraries out there.
https://www.programmingsimplified.com/c/graphics.h
modern graphics like:
SDL.
SFML.
or Win32 even, for windows.
Qt
And you can use OpenGl library for handling graphics at first to know about how this works.
Graphics in web based languages are worked over WebGl
You can learn about that in these links
▶https://developer.mozilla.org/en-US/docs/Web/API/WebGL_API
▶https://www.toptal.com/javascript/3d-graphics-a-webgl-tutorial
follow this page for learning about canvas, svg and javascript related concepts
▶https://www.sololearn.com/Profile/13601090/?ref=app
+ 2
seriously, this kind of question
+ 2
jaya kumar he means that C's default graphics library is old. Check out "open gl in C" in google to get a better outcome.
+ 1
I am unable to understand your reply sir