???? ???????????????? Turbo Pascal 7.0 - PowerPoint PPT Presentation

About This Presentation
Title:

???? ???????????????? Turbo Pascal 7.0

Description:

Turbo Pascal 7.0 124 . – PowerPoint PPT presentation

Number of Views:279
Avg rating:3.0/5.0
Slides: 25
Provided by: pyx4
Category:
Tags: pascal | turbo

less

Transcript and Presenter's Notes

Title: ???? ???????????????? Turbo Pascal 7.0


1
???? ???????????????? Turbo Pascal 7.0
  • ??????? ?????? ???????
  • ??? ??? ? 124 ?.?????????

2
???? ???????????????? Pascal
  • ???? ???????????????? ??????? ??? ??????????
    ???????????, ?????????? ????????? ???????????
    ??????????? ?????? ??????????????? ?????
    ?????????? ?????? ? 1968-1970 ??. ??? ????
    ???????? ????????? ????????????????.

3
???????? ????
  • ?? ??????, ??? ???????- ???? ????????????? ???
    ????????, ???? ?? ???????. ??? ??? ??????? ??
    ???? ?. ???? (1984 ?.)
  • ????????????, ??? ??????? ??? ?????????? ?
    ???????? ????? ??? ????????. ???? ??? ???????????
    ???????????, ?? ??? ????????????? ??? ???????? ??
    ???????? ???????????? ?????. ?? ????? ???? ? ??
    ???? ? ?????????? ?????????? ?? ????? ????????
    ????? ???????????? ? ???????, ??????? ??????
    ???????????? ??? ??????? ?????-?? ????????????
    ?????.
  • http//pascal.sources.ru

4
???? ???????????????? Pascal
  • ? ??? ??? ??????? ?????????? ??? ????? ? ?????
    ??????????, ?????? ?? ??????, ??? ???? ???
    ???????? ????????? ????????????????, ?? ? ???
    ???????? ???????? ?????????? ????????
    ???????????? ???????????.
  • ? ????? ?????????????? ???? ??????? ???? ????????
    ???????????? ???????????, ?? ??????????? ???????
    ????? ????? Turbo Pascal ???????? ?????? ??????
    ????????????????.

5
?????? PASCAL?
  • ???? ???????????????? Pascal ??? ?????? ? ?????
    ???????????? ??????? ????? ???????, ??????? ??? ?
    1642 ?. ??????? ?????? ???????????? ???????
    ??????. ??? ???????????? ????? ???????
    ????????????????? ???????? ?????????, ?????? ??
    ??????? ??????????????? ?????? ???????
    ??????????? ????? ? ????????? ????? ?? 0 ?? 9.
    ????? ???????? ????????? ?????? ??????, ?????????
    ?????????? ?? ???? ?????. ?????? ??????? ????
    ??????????? ???????.

6
???????? ???????? ? ?????? ????????????????
  • ???? ??????? ??????.
  • ???? ??? (???????? ????) ???????? ????????
    ???????.
  • ???????, ????? ????????? ??? ?????? ??????????
    ?????????, ??? ?????? ???? ?????????? ?? ????,
    ???????? ??????????. ???? ??????? ????????
    ?????????? ???????????.

7
?????????????? ? ???????????
  • ?????????? ??? ????????? ??????? ? ??????????
    ????????????? ? ??????????
  • ????????????? ????????? ? ????????? ?????????
    ?????? ?? ???????.
  • ?????????? ????????? ????????? ???????, ? ?????
    ????????? ??.

8
??????????????? ????? Turbo Pascal-7.0
???????? ???? ? ???????? ??????????????? ???????
??????? ???????? Borland International. ???
?????? ??????? ?????????? Turbo-????? ??????????.
??? ??? ???????? ??? ?????? ? ?????????? ????????
????????????????. ?????? Turbo? Turbo ? ????????
? ??????????? ?????? ???????? ?????????.
??????????, ???????? ? ?????? Turbo Pascal ?????
?????? ????????? ????????? ? ?????
???????????????? ? ???????? ????.
9
??????????????? ????? Turbo Pascal-7.0
  • ? ?????? ??????????????? ????? ??????
  • ????????? ????????
  • ??????????
  • ????????
  • ?????????? ???????
  • ????? ?????????? ?????????

10
???????? ???????? ?????
  • ??????? ????? - ??? ???????????? ?????,
    ???????????? ??? ??????????? ???????.
  • ??????? ????? - ????? ????? ????????.
  • ??????? ????? Turbo Pascal 7.0 ????????
  • ??? ????????? ????????? ? ???????? ?????
  • ???????? ????? (0 9)
  • ??????? - / lt gt , . _ ( ) ?
    ??.
  • ????????? (?????????????????) ?????

11
???????? ???????? ?????
  • ??? ?????? ??????, ???? ???????, ??????????
    ???????? Turbo Pascal 7.0 ?????????? ?????
    ?????? ???????????? ????, ??????? ??????????
    ?????????? ??? ?????????????????? (??? ??????????
    ????????????? ??????????).
  • ????????? ????? ??????? ?? ??? ??????
  • ????????? (READ, WRITELN ? ??.)
  • ????? ??????? (SIN, COS ? ??.)
  • ???????? ????? (VAR, BEGIN, END ? ??.)

12
????????? ?????????
????? ????????? ?? ??????? ????? ????????????
?????????
  1. ????????? ?????????
  2. ?????? ????????
  3. ???? ?????????

13
????????? ?????????
PROGRAM ??? Const - ?????? ???????? Var -
?????? ?????????? BEGIN ???????? 1 ????????
2 .. ???????? n-1 ???????? n Readln END.
14
????????? ?????-??????
  • ????? ????????? ??????????????? ? ????????????? ?
    ??????? ?????????? ?????- ??????.

15
???????? ????? READ
  • ???? ?????????? ? ?????????? ?????????????? ?
    ??????? ????????? READ.
  • ????? ? ????????? ??????????? ???????? READ, ??
    ?? ???????? ?????????????????? ?? ??? ???, ????
    ?? ????? ??????? ???????? ??????.
  • ????? ???
  • READ(?,b,...)
  • READLN(?,b,..,),
  • ??? ?,b,... ????? ???????? ??????????
  • READLN - ???????????, ????? ?????????? ?????????
    ?????????? ????????? ?? ??????? ??????? ENTER.

16
???????? ?????? WRITE
  • ??? ?????? ?????????? ?? ????? ????????????
    ???????? WRITE.
  • ????? ???
  • WRITE(?,b,...)
  • WRITELN(?,b,..), ??? ?,b,... ?????? ?????????
    ????????, ??????????, ?????????.

17
???????? ?????? WRITE
1. WRITE(22) ??????? ?? ????? 4
2.WRITE(22) - ??????? ?? ????? 22
3. WRITE(22, 22) - ??????? ?? ????? 224
18
????? ????????????????Turbo Pascal 7.0
19
??????? ????? ?????? ?????????, ???????????
???????????? ???? ????? ?????
  • Program p1
  • Var a,b,? integer ????? ? ????? Pascal
    ??????????? ??? ????? ? ????????????
  • Begin
  • WriteLn('??????? ??? ????? ????? ????? ??????')
  • ReadLn(a,b)
  • ?ab
  • WriteLn('?? ???????????? ????? ', ?)
  • ReadLn
  • End.

??????? ????????? ?????????? ??????
CTRLSHIFT ?????????? ????????? ??????????
????? CTRLSHIFT
20
?????????? ?????????
  • ????? ???? ??? ????? ????????? ??????, ???
    ??????? ????????? ? ???????? ???. ??? ?????
    ????????? ?????????? ?? ??????????, ?????? ??
    ???????? ???? - ???? Compile ????? Compile (???
    AltF9).
  • ??????? ?????????? ?????????, ?? ???????? ??
    ????????? ?????????????? ??????.
  • ????????? ??????, ????????????? ???? ??????,
    ????????????? ?????? ? ?? ????? ?????????, ???
    ??????? ?????? ? ??????? ????????? ?????? ??????
    ?? ??????? ????.
  • ???????? ?????????? ???????? ? ?????????
    ????????? ? ?????????? ????? ????????? ? ??????
    ????????? ??????????? ??????.

21
?????? ?????????
  • ??? ???? ????? ????????? ?????????, ?? ????????
    ???? ???????? ???? Run ? ? ???????????? ????
    ???????? ????? Run (??? CtrlF9). ????? ?????
    ?????????? ????, ? ??????? ?????????????? ??????
    ? ??????????. ?? ?????? ?????????? ?????????
  • ??????? ??? ????? ????? ????? ??????
  • ?????? ????????? ? ????????? ??????. ?????? ???
    ????? ????? ????? ?????? ? ???????? ltEntergt,
    ????? ????? ?????????? ?????????
  • ?? ???????????? ????? ...
  • ?????? ????? ????? ???????? ???????? ??????????
    ?, ?.?. ?????, ?????? ???????????? ???????
    ?????????? ????? ?? ??????. ??? ?????????
    ????????? ?? ?????? ?? ??? ???, ???? ?? ?????
    ?????? ??????? ltEntergt.

22
?????????? ?????????
  • ??? ???? ????? ????????? ?????????, ??????????
  • - ? ??????? ???? ? ??????? ???? File
  • - ? ???????????? ???? ??????? ????? Save ???
    Save as...
  • - ? ??????????? ???? ??????? ??? ????? ? ??????
    ??????? ltEntergt.
  • ????????, D\pr1.pas. ???? ? ?????? pr1. pas
    ??????????? ? ???????? ???????? ????? D pas
    ??????????, ?????????? ? ???, ??? ???? ????????
    ?????????, ?????????? ?? ????? ???????. ?????????
    ?? ???????? ? ?????? MS-DOS, ??? ????? ?? ?????
    ????????? ????? 8 ????????.

23
?????????? ???????????? ????? ? ??????????? .exe
  • ??? ???? ????? ??????? ??????????? ????,
    ??????????
  • - ? ??????? ???? ??????? ???? Compile
  • ? ???????????? ???? ??????? ????? Destination
    Memory (????????? ?? Destination Disk)
  • ?????????? ??????????.
  • ????? ?????? ???? ? ??? ?? ?????? (??? ? .pas),
    ?? ? ??????????? .exe.

24
????? ?? ??????? ???????????????? Turbo Pascal
  • ??? ???? ????? ????????? ??????, ??????????
  • - ? ??????? ???? ??????? ???? File
  • - ? ???????????? ???? ??????? ????? Exit.
  • ???? ?????? ?????? ?????????? ?????? Alt?.
Write a Comment
User Comments (0)
About PowerShow.com