From dcceee67fc0a5f8d712a1d32d4800d7f666680d5 Mon Sep 17 00:00:00 2001 From: eliberator Date: Mon, 17 Dec 2018 18:48:36 +0100 Subject: [PATCH] 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' --- guide/arabic/c/more-math/index.md | 4 ++-- guide/chinese/c/more-math/index.md | 4 ++-- guide/english/c/more-math/index.md | 2 +- guide/portuguese/c/more-math/index.md | 4 ++-- guide/russian/c/more-math/index.md | 4 ++-- guide/spanish/c/for/index.md | 6 +++--- guide/spanish/c/more-math/index.md | 4 ++-- 7 files changed, 14 insertions(+), 14 deletions(-) diff --git a/guide/arabic/c/more-math/index.md b/guide/arabic/c/more-math/index.md index c3f604650f..3f8b6902ca 100644 --- a/guide/arabic/c/more-math/index.md +++ b/guide/arabic/c/more-math/index.md @@ -90,7 +90,7 @@ C يفعل نفس الشيء: ضع `-` أمام رقم أو متغير - هذا هذا المثال سوف يتحول `a` إلى اليمين `b` بت، وتعيين تلك النتيجة تساوي `c` . - `c = a >> c; + `c = a >> b; ` ## مشغلي تعيين مركبة @@ -172,4 +172,4 @@ C يفعل نفس الشيء: ضع `-` أمام رقم أو متغير - هذا * توجد عمليات تخصيص مركبة لجميع العمليات غير أحادية * a + = b هو نفسه a = a + b ، وهكذا * يتيح لك Cast التبديل بين أنواع البيانات -* math.h لديه المزيد من الاشياء الرياضيات للعب مع \ No newline at end of file +* math.h لديه المزيد من الاشياء الرياضيات للعب مع diff --git a/guide/chinese/c/more-math/index.md b/guide/chinese/c/more-math/index.md index e92906ac14..d52b11272e 100644 --- a/guide/chinese/c/more-math/index.md +++ b/guide/chinese/c/more-math/index.md @@ -94,7 +94,7 @@ c = a << b; 此示例将`a`向右移位`b`位,并将该结果设置为等于`c` 。 ```C -c = a >> c; +c = a >> b; ``` ## 复合赋值运算符 @@ -181,4 +181,4 @@ a = abs(-1); * 所有非一元操作都存在复合赋值操作 * a + = b与a = a + b相同,依此类推 * Casting允许您在数据类型之间进行交换 -* math.h有更多的数学东西可供使用 \ No newline at end of file +* math.h有更多的数学东西可供使用 diff --git a/guide/english/c/more-math/index.md b/guide/english/c/more-math/index.md index 541ef1a9ce..2185db0289 100644 --- a/guide/english/c/more-math/index.md +++ b/guide/english/c/more-math/index.md @@ -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`. ```C -c = a >> c; +c = a >> b; ``` diff --git a/guide/portuguese/c/more-math/index.md b/guide/portuguese/c/more-math/index.md index df93c98fa5..a3a61a1887 100644 --- a/guide/portuguese/c/more-math/index.md +++ b/guide/portuguese/c/more-math/index.md @@ -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` . ```C -c = a >> c; +c = a >> b; ``` ## Operadores de Atribuição Composta @@ -181,4 +181,4 @@ a = abs(-1); * Operações de atribuição compostas existem para todas as operações não unárias * a + = b é o mesmo que a = a + b, e assim por diante * Casting permite que você troque entre tipos de dados -* math.h tem mais coisas de matemática para brincar \ No newline at end of file +* math.h tem mais coisas de matemática para brincar diff --git a/guide/russian/c/more-math/index.md b/guide/russian/c/more-math/index.md index c9ab0f0ac0..c108f40612 100644 --- a/guide/russian/c/more-math/index.md +++ b/guide/russian/c/more-math/index.md @@ -94,7 +94,7 @@ c = a << b; Этот пример сдвинет `a` вправо на `b` бит и установит этот результат равным `c` . ```C -c = a >> c; +c = a >> b; ``` ## Операторы контировки @@ -181,4 +181,4 @@ a = abs(-1); * Существуют сложные операции присвоения для всех не унарных операций * a + = b совпадает с a = a + b и т. д. * Кастинг позволяет вам переключаться между типами данных -* У math.h есть больше математического материала для игры с \ No newline at end of file +* У math.h есть больше математического материала для игры с diff --git a/guide/spanish/c/for/index.md b/guide/spanish/c/for/index.md index 25bf11b948..cb35d102e5 100644 --- a/guide/spanish/c/for/index.md +++ b/guide/spanish/c/for/index.md @@ -38,9 +38,9 @@ El bucle for se usa comúnmente cuando se conoce el número de iteraciones. ## Salida: ```shell -> Item on index 0 is 1 + > Item on index 0 is 1 > Item on index 1 is 2 > Item on index 2 is 3 > Item on index 3 is 4 - -``` \ No newline at end of file + > Item on index 4 is 5 +``` diff --git a/guide/spanish/c/more-math/index.md b/guide/spanish/c/more-math/index.md index 6d8a0ea179..338e274bb9 100644 --- a/guide/spanish/c/more-math/index.md +++ b/guide/spanish/c/more-math/index.md @@ -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` . ```C -c = a >> c; +c = a >> b; ``` ## Operadores de asignación de compuestos @@ -181,4 +181,4 @@ a = abs(-1); * Existen operaciones de asignación de compuestos para todas las operaciones no unarias. * a + = b es lo mismo que a = a + b, y así sucesivamente * Casting te permite intercambiar entre tipos de datos -* math.h tiene más cosas de matemáticas para jugar \ No newline at end of file +* math.h tiene más cosas de matemáticas para jugar