2 ms·
gcc accepts compiling code from stdin. If not: >> echo.c << EOF #include <stdio.h> int main(){ while((c = getline()) != EOF){ pu
by anthk 7y ago
gcc accepts compiling code from stdin.
If not:
>> echo.c << EOF
#include <stdio.h>
int main(){
while((c = getline()) != EOF){
putchar(c);
}
}
EOF