I'm playing around with the Pico SDK and the extension in VS Code and it seems that when I produce a C++ file program instead of C, a number of the hardware options are no longer available to include. Specifically in my case I would like to use the ADC
#include "hardware/adc.h"
This worked fine with a C program but is not longer available in C++.
fatal error: hardware/adc.h: No such file or directory
Why is this the case and is there anything I can do about it? I would prefer to use C++ for my programs as I want to use some of the standard libraries included with C++ and for me it is more intuitive.