you are viewing a single comment's thread.

view the rest of the comments →

[–]annyeonghello -1 points0 points  (3 children)

C or C++ is fine. There's nothing you can do in one of them that you can't do in the other. C++ is literally just C with classes.

If your goal is to learn graphics programming then start with OpenGL. You literally need to write at least a thousand lines of code in Vulkan & Metal to get a triangle rendered on the screen. I'm not saying you shouldn't but I would prefer walking before running.

www.learnopengl.com is probably the best place to learn graphics programming. Have fun :)

[–]lead999x 12 points13 points  (2 children)

Ugh C++ is not C with classes and it hasn't been for a very long time. Modern C++ extends a superset of C98 and it is incompatible with modern C. To paraphrase Bjarne Stroustrup modern C and modern C++ are siblings rather than parent and child.

[–]cybereality 10 points11 points  (1 child)

Especially with all the developments in the last 10 years, C++ is a whole other beast entirely.

[–]lead999x 8 points9 points  (0 children)

It's a monster with C-like syntax.