Message from C, C++ talks

July 2019

— Ok, I'm not an expert
Just telling what I learned :)

— Got it

— unterumarmung well, you are correct, that you can compile IR to js, but that is more an "add-on"

— My question is that how do I write an opengl program with visual studio code as my code editor

— 

LLVM is huge and i don't think, that there are many people that know what you can do with it as a whole.

— My question is that how do I write an opengl program with visual studio code as my code editor

— With your hands, probably?

— I want to know how to do it

— Turbo, at what stage are you facing problems. Could you be more specific, please

— There's lot of tutorials about opengl in the internet as far as I know.
What problems do you have?

— I have set up c++ with it but when I add glfw3
gdi32 and opengl

— I get a message about undefined reference

— Okay,... are you using cmake for the build process?

— No sir

— 1. Learn about build systems
2. Learn about compilers on your platform
3. Learn how to use opengl on your platform
4. Open the editor
5. Write some valid code using your knowledge
6. Compile your program
???
Profit

Message permanent page