typo guide c more-math rightshift (#31663)
* add output missing line; 'for' C guide in Spanish * typo - update the right-shift variable from c to b * typo - ES change var of right-shift from c to b * typo - AR change the right-shift oper from c to b * typo - CN update var of rightshift from 'c' to 'b' * typo - PT update var of right-shift 'c' -> 'b' * typo - RU update var of right-shift from 'c' to 'b'
This commit is contained in:
committed by
Christopher McCormack
parent
ae9e79c31b
commit
dcceee67fc
@ -90,7 +90,7 @@ C يفعل نفس الشيء: ضع `-` أمام رقم أو متغير - هذا
|
|||||||
|
|
||||||
هذا المثال سوف يتحول `a` إلى اليمين `b` بت، وتعيين تلك النتيجة تساوي `c` .
|
هذا المثال سوف يتحول `a` إلى اليمين `b` بت، وتعيين تلك النتيجة تساوي `c` .
|
||||||
|
|
||||||
`c = a >> c;
|
`c = a >> b;
|
||||||
`
|
`
|
||||||
|
|
||||||
## مشغلي تعيين مركبة
|
## مشغلي تعيين مركبة
|
||||||
|
@ -94,7 +94,7 @@ c = a << b;
|
|||||||
此示例将`a`向右移位`b`位,并将该结果设置为等于`c` 。
|
此示例将`a`向右移位`b`位,并将该结果设置为等于`c` 。
|
||||||
|
|
||||||
```C
|
```C
|
||||||
c = a >> c;
|
c = a >> b;
|
||||||
```
|
```
|
||||||
|
|
||||||
## 复合赋值运算符
|
## 复合赋值运算符
|
||||||
|
@ -114,7 +114,7 @@ This will shift `a` to the left by `b` bits, and set that result equal to `c`.
|
|||||||
|
|
||||||
This example will shift `a` to the right by `b` bits, and set that result equal to `c`.
|
This example will shift `a` to the right by `b` bits, and set that result equal to `c`.
|
||||||
```C
|
```C
|
||||||
c = a >> c;
|
c = a >> b;
|
||||||
|
|
||||||
```
|
```
|
||||||
|
|
||||||
|
@ -94,7 +94,7 @@ Isto irá deslocar `a` para a esquerda por `b` pedaços, e definir que resultado
|
|||||||
Este exemplo vai deslocar `a` para a direita por `b` pedaços, e definir que resultado igual a `c` .
|
Este exemplo vai deslocar `a` para a direita por `b` pedaços, e definir que resultado igual a `c` .
|
||||||
|
|
||||||
```C
|
```C
|
||||||
c = a >> c;
|
c = a >> b;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Operadores de Atribuição Composta
|
## Operadores de Atribuição Composta
|
||||||
|
@ -94,7 +94,7 @@ c = a << b;
|
|||||||
Этот пример сдвинет `a` вправо на `b` бит и установит этот результат равным `c` .
|
Этот пример сдвинет `a` вправо на `b` бит и установит этот результат равным `c` .
|
||||||
|
|
||||||
```C
|
```C
|
||||||
c = a >> c;
|
c = a >> b;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Операторы контировки
|
## Операторы контировки
|
||||||
|
@ -38,9 +38,9 @@ El bucle for se usa comúnmente cuando se conoce el número de iteraciones.
|
|||||||
## Salida:
|
## Salida:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
> Item on index 0 is 1
|
> Item on index 0 is 1
|
||||||
> Item on index 1 is 2
|
> Item on index 1 is 2
|
||||||
> Item on index 2 is 3
|
> Item on index 2 is 3
|
||||||
> Item on index 3 is 4
|
> Item on index 3 is 4
|
||||||
|
> Item on index 4 is 5
|
||||||
```
|
```
|
@ -94,7 +94,7 @@ Esto desplazará `a` a la izquierda en `b` bits y establecerá ese resultado igu
|
|||||||
Este ejemplo desplazará `a` a la derecha en `b` bits y establecerá ese resultado igual a `c` .
|
Este ejemplo desplazará `a` a la derecha en `b` bits y establecerá ese resultado igual a `c` .
|
||||||
|
|
||||||
```C
|
```C
|
||||||
c = a >> c;
|
c = a >> b;
|
||||||
```
|
```
|
||||||
|
|
||||||
## Operadores de asignación de compuestos
|
## Operadores de asignación de compuestos
|
||||||
|
Reference in New Issue
Block a user