Of course... you just need to learn how... here is some useful content to begin:
https://www.youtube.com/watch?v=vLnPwxZdW4Y
https://www.w3schools.com/cpp/cpp_getstarted.asp#:~:text=To%20start%20using%20C%2B%2B,that%20the%20computer%20will%20understand