It's like so many areas of work. The right tool for the job.
These days C++ is about as low level as most people code these days and is appropriate where you need the almost machine level of control that it will give you.
Otherwise stick to higher level languages, such as
php, that are designed to meet a need and do a lot of work for a little coding.