Creating a new Material in C++

Hello, Could you be a little more specific on how the material can be created?