https://foro.gambas-es.org/viewtopic.php?f=17&t=5477&p=32459#p32459
-----------------------------------
vuott
Miercoles, 18 May 2016, 12:04

Re: Desarrollando Libreria Para Operadores Con Bit
-----------------------------------
El tu codigo en C++ al compilarlo me da estos errores:

[color=#8C0000][i]/tmp/c.cpp: In function ‘int BitBarraVertical(int, int)’:
/tmp/c.cpp:23:11: error: ‘PIPE’ was not declared in this scope
 return  x<PIPE>=y;
           ^
/tmp/c.cpp: In function ‘int main()’:
/tmp/c.cpp:47:37: error: ‘printf’ was not declared in this scope
  printf("Valor Inicial x = %d \n", x);
                                     ^
/tmp/c.cpp:63:4: error: ‘PIPE’ was not declared in this scope
 z <PIPE>= 13;
    ^
/tmp/c.cpp:64:6: error: lvalue required as left operand of assignment
 a <<1>>= 1;
      ^[/i][/color]


