It is the first function that gets called when the program is executed.
Of course they are used. Both stand-alone and class-member functions are used in C++.
It should work without any special action.
One.
A block of code.