calc
calc copied to clipboard
Fixing \n in code. Before, Go was interreting the \n, I changed it t…
Fixing newline in code. Before, Go was interpreting the \n, I changed it \n so that \n appeared in the outputted .c file. Before this change, the outputted c file wouldn't compile.
Before:
include <stdio.h>
int main(void) { printf("%d ", 10); return 0; }
Now:
include <stdio.h>
int main(void) { printf("%d\n", 10); return 0; }