Graphics in languages other than html? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Graphics in languages other than html?

i've just started coding in C++ and the only thing i could do is writing something on the screen, however there is plenty of html codes with complex graphics and images. is it possible to make someyhing similar in other languages?

8th May 2018, 3:21 PM
spudo
4 Answers
+ 1
Yes, but it's harder in C++. You just use C++ graphics if you need much rendering speed.
8th May 2018, 3:25 PM
Timon Paßlick
+ 1
.bmp is a really simple image format so you can definitely generate images with very little effort. (Usually you copy ~100 lines of bmp saving code from google into your project and the rest is you writing a color for each pixel into an array) It's not quite the same as a homepage but hey, still fun. And you can do a lot! I have some (10+ years old) sample code if you want it.
8th May 2018, 4:52 PM
Schindlabua
Schindlabua - avatar
0
let me see the sample
8th May 2018, 5:43 PM
spudo
0
Oops, sorry for the late reply. Here you go (windows only): www.hastebin.com/mobuvurasa.cpp
10th May 2018, 11:06 AM
Schindlabua
Schindlabua - avatar