While I've written Rpi Pico applications in C++, IMO CircuitPython/MicroPython is a far better environment for that processor.