The Pascal/FPC/Delphi way is quite simple and sensible but, trying to compare it with the way things are managed in C/C++ would be, in many cases, convoluted.
I recommend you start by reading the FPC language Reference Guide. A lot of your questions are answered there and you can mentally map the Pascal way to the C/C++ way. You'll find that, in just about all cases (I cannot think of an exception at this time), the Pascal way is simple, powerful and flexible. Significantly better than what most C/C++ compilers offer.
Click on the "Downloads" under "Free Pascal" (it's on the left hand side, under the Lazarus logo), that will take you to the "Downloads" page (what a surprise!) and there click on "Documentation". The Language Reference Guide is likely the best place for you to start.
HTH.