Programming Language

VIM 3 Basic
Ubuntu 20.04 - Linux kernel 4.9

I would like to use the GPIO pins to control relays and LEDs with push button press. What programming language can I use? Can I use C++ or do I need to use python?

Thank you,

Check for wiring pi docs and lib for python and c++, you can also manually toggle the IO by reading or writing values in /sys/class/gpio…