C++ generated code

The code below is generated by the translator from the original code in SPL (Shakespeare programming language).
The output is as follows:

// play.stl
// compiled with splc.py (c) Sam Donow 2013-2015
#include <cstdlib>
#include <stdio.h>
#include <math.h>
#include "include/mathhelpers.h"
int condition = 0;
char inputbuffer[BUFSIZ];
int main() {

int Romeo = 4;
int Juliet = 0;
int Iago = 4;
act1: {
goto act_1_scene1;
}
act_1_scene1: {
;
Juliet = 4 ;
Romeo = square(Romeo) ;
Romeo = (Romeo * Juliet) ;
Juliet = (Romeo + twice(Juliet)) ;
Romeo = (Juliet + 1) ;
fprintf(stdout, "%c", (char)Romeo);
Juliet = twice(16) ;
fprintf(stdout, "%c", (char)Juliet);

goto act_1_scene2;

}
act_1_scene2: {
;
Romeo = (-8 - -2) ;
Romeo = (Romeo * -2) ;
Romeo = ((Romeo * 4) + Romeo) ;
fprintf(stdout, "%c", (char)Romeo);
Iago = (-1 + Iago) ;
fprintf(stdout, "%d", Iago);
Romeo = Juliet ;
fprintf(stdout, "%c", (char)Romeo);
Iago = Iago ;

goto act2;

}
act2: {
goto act_2_scene1;
}
act_2_scene1: {
;
Juliet = (Iago - -8) ;
Juliet = square(Juliet) ;
fprintf(stdout, "%c", (char)Juliet);
Iago = (Romeo - Juliet) ;
Iago = (-1 * Iago) ;
Iago = (Iago + twice((int)sqrt(Juliet))) ;
fprintf(stdout, "%c", (char)Iago);
Juliet = (-4 + Juliet) ;
fprintf(stdout, "%c", (char)Juliet);

goto act3;

}
act3: {
goto act_3_scene1;
}
act_3_scene1: {
;
Romeo = (Romeo + 1) ;
fprintf(stdout, "%c", (char)Romeo);
Iago = Romeo ;
fprintf(stdout, "%c", (char)Iago);
fprintf(stdout, "%c", (char)Romeo);

system("echo. & pause");
}
}