I've seen this post that tells how to get gcc to compile from standard input (type file.c | gcc -x c -):
Is it possible to get GCC to read from a pipe?
But it does not work on windows 10. I always get "The system cannot find the file specified" in spite of having tried it every way I can imagine.
Anyone know the trick?
And I can't change the version of gcc we're using (I've heard standard input compile with gcc in mingw works on windows).