So, you created the text files using a text editor, yes or no?
And, you used the terminal to try to build the files created, yes or no?
If not, the above what did you do that nothing happened?
Did you install the compiler, if yes what is the C or C++ compiler filename?
On Windows my C Compiler filename followed by "--version"
ran in the terminal returns
gcc.exe (Rev2, Built by MSYS2 project) 6.3.0
Copyright (C) 2016 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
What does your C or C++ compiler return as its version information?
Tim S.