enter image description here I’m trying to know how link order affect the efficiency of program. Currently, I can do that: test.h->test.h.gch and test.cpp/main.cpp->.ll->optimization->.s->.o file and link these two .o file to a executable file. But is the order of these two .o files depending on my input? Or llvm compiler will determine the link ..

Read more

Ive been following along with some c++ tutorials on youtube and I cant seem to get this code to work, I use code blocks and this person uses visual c++. Is there a difference between them somehow? before I did cin >> std::Asalary; she asked what whould happen if you ran this code, she got ..

Read more

I am trying to make my program able to handle window resizing without losing the aspect ratio with little luck. Most online searches led me to old questions using legacy code while I am working on OpenGL 3.3. So far what I have tried is using glfwSetWindowSizeCallback and glfwSetWindowSize but end up with the image ..

Read more