difference between graphics in c and html | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 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?

17th Nov 2019, 8:06 AM
jaya kumar
jaya kumar - avatar
4 Answers
+ 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_APIhttps://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
17th Nov 2019, 8:49 AM
GAWEN STEASY
GAWEN STEASY - avatar
+ 2
seriously, this kind of question
17th Nov 2019, 8:30 AM
✳AsterisK✳
✳AsterisK✳ - avatar
+ 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.
17th Nov 2019, 10:15 AM
Fernando Pozzetti
Fernando Pozzetti - avatar
+ 1
I am unable to understand your reply sir
17th Nov 2019, 8:34 AM
jaya kumar
jaya kumar - avatar