As the title suggests, if I paste a c file written somewhere else into the root directory of the Linux Subsystem, I can\'t compile it.
I did a test where I made two dif
You cannot copy (by default, who knows how Windows bash is set up!) files into the root directory! Your gcc error is say "no input files", so the copy has most likely failed. Copy the files to your home directory instead, for instance:
bash
gcc
cp helloWorld2.c ~/
instead of:
cp helloWorld2.c /