Use this code on Linux enviroment and setting some package to run C/C++ on it If you can't? just suicide
# update and install needed package
sudo apt update
sudo apt install build-essential
# Bring the program into gcc to run
gcc compile.c -o compile
# Run~~
./compile