Основы языка программирования C++ с применением объектно-ориентированного программирования. Чернышов М.К. - 19 стр.

UptoLike

Составители: 

2
sizeof
Ɋɚɡɦɟɪ ɞɚɧ-
ɧɨɝɨ
sizeof ɜɵɪɚɠɟɧɢɟ
2
Ɋɚɡɦɟɪ ɬɢɩɚ
ɞɚɧɧɨɝɨ
sizeof(ɢɦɹ ɬɢɩɚ )
3
*
ɍɦɧɨɠɟɧɢɟ
ɜɵɪɚɠɟɧɢɟ*ɜɵɪɚɠɟɧɢɟ
3
/
Ⱦɟɥɟɧɢɟ
ɜɵɪɚɠɟɧɢɟ/ɜɵɪɚɠɟɧɢɟ
3
%
Ɉɫɬɚɬɨɤ ɨɬ
ɞɟɥɟɧɢɹ ɧɚ-
ɰɟɥɨ
ɜɵɪɚɠɟɧɢɟ%ɜɵɪɚɠɟɧɢɟ
4
->*
Ɉɛɪɚɳɟɧɢɟ ɤ
ɱɥɟɧɭ ɫɬɪɭɤ-
ɬɭɪɵ ɩɨ ɭɤɚ-
ɡɚɬɟɥɸ
ɭɤɚɡɚɬɟɥɶ_ɧɚ_ɫɬɪɭɤɬɭɪɭ->*
ɢɦɹ_ɱɥɟɧɚ_ɫɬɪɭɤɬɭɪɵ-ɭɤɚɡɚɬɟɥɹ
4
.*
Ɉɛɪɚɳɟɧɢɟ ɤ
ɱɥɟɧɭ ɫɬɪɭɤ-
ɬɭɪɵ ɩɨ ɢɦɟ-
ɧɢ ɫɬɪɭɤɬɭ-
ɪɵ
ɢɦɹ_ɫɬɪɭɤɬɭɪɵ.*
ɢɦɹ_ɱɥɟɧɚ_ɫɬɪɭɤɬɭɪɵ-ɭɤɚɡɚɬɟɥɹ
5
+
ɋɥɨɠɟɧɢɟ
ɜɵɪɚɠɟɧɢɟ+ɜɵɪɚɠɟɧɢɟ
5
-
ȼɵɱɢɬɚɧɢɟ
ɜɵɪɚɠɟɧɢɟ-ɜɵɪɚɠɟɧɢɟ
6
<<
ɋɞɜɢɝ ɜɥɟɜɨ
ɰɟɥɨɟ_ɜɵɪɚɠɟɧɢɟ<<ɰɟɥɨɟ_ɜɵɪɚɠɟɧɢɟ
6
>>
ɋɞɜɢɝ ɜɩɪɚ-
ɜɨ
ɰɟɥɨɟ_ɜɵɪɚɠɟɧɢɟ>>ɰɟɥɨɟ_ɜɵɪɚɠɟɧɢɟ
7
<
Ɇɟɧɶɲɟ
ɜɵɪɚɠɟɧɢɟ<ɜɵɪɚɠɟɧɢɟ
7
<=
Ɇɟɧɶɲɟ ɢɥɢ
ɪɚɜɧɨ
ɜɵɪɚɠɟɧɢɟ<=ɜɵɪɚɠɟɧɢɟ
7
>
Ȼɨɥɶɲɟ
ɜɵɪɚɠɟɧɢɟ>ɜɵɪɚɠɟɧɢɟ
7
>=
Ȼɨɥɶɲɟ ɢɥɢ
ɜɵɪɚɠɟɧɢɟ>=ɜɵɪɚɠɟɧɢɟ
19
             Ɋɚɡɦɟɪ ɞɚɧ-    sizeof ɜɵɪɚɠɟɧɢɟ
2   sizeof
             ɧɨɝɨ

             Ɋɚɡɦɟɪ ɬɢɩɚ    sizeof(ɢɦɹ ɬɢɩɚ )
2
             ɞɚɧɧɨɝɨ

3   *        ɍɦɧɨɠɟɧɢɟ      ɜɵɪɚɠɟɧɢɟ*ɜɵɪɚɠɟɧɢɟ

3   /        Ⱦɟɥɟɧɢɟ        ɜɵɪɚɠɟɧɢɟ/ɜɵɪɚɠɟɧɢɟ

             Ɉɫɬɚɬɨɤ ɨɬ
3   %        ɞɟɥɟɧɢɹ ɧɚ-    ɜɵɪɚɠɟɧɢɟ%ɜɵɪɚɠɟɧɢɟ
             ɰɟɥɨ

             Ɉɛɪɚɳɟɧɢɟ ɤ
             ɱɥɟɧɭ ɫɬɪɭɤ-   ɭɤɚɡɚɬɟɥɶ_ɧɚ_ɫɬɪɭɤɬɭɪɭ->*
4   ->*
             ɬɭɪɵ ɩɨ ɭɤɚ-   ɢɦɹ_ɱɥɟɧɚ_ɫɬɪɭɤɬɭɪɵ-ɭɤɚɡɚɬɟɥɹ
             ɡɚɬɟɥɸ

             Ɉɛɪɚɳɟɧɢɟ ɤ
             ɱɥɟɧɭ ɫɬɪɭɤ-
                            ɢɦɹ_ɫɬɪɭɤɬɭɪɵ.*
4   .*       ɬɭɪɵ ɩɨ ɢɦɟ-   ɢɦɹ_ɱɥɟɧɚ_ɫɬɪɭɤɬɭɪɵ-ɭɤɚɡɚɬɟɥɹ
             ɧɢ ɫɬɪɭɤɬɭ-
             ɪɵ

5   +        ɋɥɨɠɟɧɢɟ       ɜɵɪɚɠɟɧɢɟ+ɜɵɪɚɠɟɧɢɟ

5   -        ȼɵɱɢɬɚɧɢɟ      ɜɵɪɚɠɟɧɢɟ-ɜɵɪɚɠɟɧɢɟ

6   <<       ɋɞɜɢɝ ɜɥɟɜɨ    ɰɟɥɨɟ_ɜɵɪɚɠɟɧɢɟ<<ɰɟɥɨɟ_ɜɵɪɚɠɟɧɢɟ

             ɋɞɜɢɝ ɜɩɪɚ-    ɰɟɥɨɟ_ɜɵɪɚɠɟɧɢɟ>>ɰɟɥɨɟ_ɜɵɪɚɠɟɧɢɟ
6   >>
             ɜɨ

7   <        Ɇɟɧɶɲɟ         ɜɵɪɚɠɟɧɢɟ<ɜɵɪɚɠɟɧɢɟ

             Ɇɟɧɶɲɟ ɢɥɢ     ɜɵɪɚɠɟɧɢɟ<=ɜɵɪɚɠɟɧɢɟ
7   <=
             ɪɚɜɧɨ

7   >        Ȼɨɥɶɲɟ         ɜɵɪɚɠɟɧɢɟ>ɜɵɪɚɠɟɧɢɟ

7   >=       Ȼɨɥɶɲɟ ɢɥɢ     ɜɵɪɚɠɟɧɢɟ>=ɜɵɪɚɠɟɧɢɟ

                            19