This parameter is confusing me | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
0

This parameter is confusing me

I'm learning opengl, and one of the parameters of the function glShaderSource() is: const GLchar* const* string The only thing I can understand from this expression is that neither the address pointed to by the pointer nor the value of the address can be changed (because there are 2 "const" expressions). But why are there 2 asterisks?

30th Nov 2020, 2:08 PM
Rajdeep Deka
Rajdeep Deka - avatar
0 ответов