-
Notifications
You must be signed in to change notification settings - Fork 1
/
test.cpp
66 lines (57 loc) · 828 Bytes
/
test.cpp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
//<<<<Bala Compiler>>>>
//Includes
#include<iostream>
#include<string.h>
#include<stdio.h>
//Defines
#define bool int
#define verdadeiro 1
#define falso 0
#define string char*
using namespace std;
//Temporaries
int t7;
int t5;
int t4;
int t3;
int t2;
int t6;
int t1;
//Global variables
int* v1;
int v2;
int v3;
int v4;
int v5;
int v6;
int v7;
int v8;
//prototypes
int main(void)
{
t1 = 5;
v1 = ( int* ) malloc( sizeof(int) * t1 );
v2 = 0; // default value
v3 = 0; // default value
//*for init*//
v4 = 0; // default value
l1: t5 = t1;
t4 = v6 < t5;
t4 = !t4;
if( t4 ) goto l2;
t2 = 1;
v2 = (v2 + t2) /*unary operator*/ ;
v5 = v2;
v1 [ v4 ] = v5;
cout << v1 [ v4 ] << endl;
l3:
t7 = 1;
t5 = t1;
t4 = v6 < t5;
v6 = (v6 + t7) /*unary operator*/ ;
goto l1;
l2:
//*for end*//
return 0;
}
//functions