calc icon indicating copy to clipboard operation
calc copied to clipboard

Fixing \n in code. Before, Go was interreting the \n, I changed it t…

Open jstemen opened this issue 8 years ago • 0 comments

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; }

jstemen avatar May 30 '16 00:05 jstemen