Because filling memory with zeros is not free in term of resources
And C++ doesn't pay for things it doesn't use (it's one of the main principles of C++)
I_Interface
not many, but for old pcs it can be ur advantage
Anonymous
You need to read some C++ theory
Anonymous
Just now that using initialized memory is bad
I_Interface
watch learning videos too
Anonymous
Yes, this line calls default constructor of std::string
But you can pretty much build anything on top of C(++)
Anonymous
I just completed a very simple course in c++ and I am trying to write a simple opengl program
Everything is going alright i have been able to draw a triangle rotating but when I try expanding the window everything pauses .
Please what causes this
Can anyone help me with a solution
I am using glfw
Anonymous
😩😩😩😩😫😫
Riccardo
Turbo I might be able to help you but you have to share some code