cat > /tmp/s.c <<'CPP' #include "stdio.h" #include "stdlib.h" typedef struct { double v