Most working C/C++ developers are definitely earning more than a typical PHP, Java, or Python developer – the reason is that the projects using C/C++ are either legacy code bases or are for more challenging programming topics (compiler development, OS development, etc.).