WWW.DISSERS.RU

    !


Pages:     | 1 |   ...   | 2 | 3 || 5 | 6 |   ...   | 18 |

apa paoeo pee aepax cpec a peaa eoa aooo oepoa oaac eae o cpae c apaa, ca c ayp cepeo. Peya oepoa o coe eoc paecoo pee aa aco peyaa aypoo cepea.

Me o a o o o o e p o a Ocoa a cooa aopecx (aox) oee, peayex a BM, cceoa poecca yopoa cox cce. peaa eoa eoxoo papaoa cea oeupyu aopum. B cooec c aopo BM paaaec opa, ocaa eeape poecc cceyeo cce c yeo aoce ax . p o oepy aop cpoc cooec c oeco cpyypo cce c coxpaee oceoaeoc poeaex e poecco oopaee ocox coco cce.

Oco aa eoa aooo oepoa c:

- oepoae xox ex oec;

- ocpoeee pao oepyeo cce (oepy aop);

- eppea opaoa peyao oepoa.

Oa cxea eoa aooo oepoa peea a pc. 5.

PC. 5 OA CXEMA METOA MTAOHHOO MOEPOBAH epecee e a eoa oopao oopc pax aopo xox ex oec, opay ype oepoa. Bo ee e ( II) opayec pocop aax apao oepyeo cce. poeypa opa oaoo apaa ypae pocopo apao, oc cooecye oppe aoy oe oe xox ex oec.

poeypa ocpoe oe cce, opo ooc oppepo oe o peyaa aoo cepea aae ae ee o ypeeo a acoc o aecx peyao oepoa. Ta opao, a cxee oae e ( III), opaa eeoc cceoae o oppoa, opo oppepoe oe.

Meo aooo oepoa ooe pea aa ceo cooc. cceyea ccea oe oopeeo coepa ee epepoo cpeoo ec, oepeo oocex cyax aopo coo ppo, ocac eca poo coooe . . Meo e peye coa ceao aapayp ao oo aa ooe eo e ae apaepo cceyex cce aax yco. eoc eoa aooo oepoa e oee coa, e a oee pax aax poepoa cce o aae cooac.

Ceye, oao, o, o eo aooo oepoa ec ce eoo. Eo oo ca pacpocpaee eoa Moe-apo a cya cox cce. a o ce eo, o oaae cyece eocao eo peee cea oc ac xapaep. Peee cooecye cpoa ae apaepo cce aax yco. aaa cce pxoc oopao oepoa poecc ee yopoa, appy cxoe ae oe.

Ta opao, peaa aox oee cox cce eoxoo ae BM coo pooeoc.

oepoa cce a BM eoxoo aca oepy aop a oo xox o BM. B aece xox o pee aa oepoa oy c ycexo cooa yepcae aopece cooo ypo, C, aca p.

A a p a o-p o p a o e o e p o a e c o x c c e Aa pa aoee cox execx cce ooe cea o o ce oee yoo pooe BM x cpyypy. Bcee a caoc eoeeo, a aacy ocoo ac ax cce. pee ceo o oocc co paoepo ccea. Cpe x pae aoaece cce, o ce cce aoaeco oya (epoe ATC), cce paoc, paoeeepece cce, cce paooa paoaa, pae cce ypae.

p ocpoe ax cce aeo cee coyc p cpyyp opaa cex a cex cce (BC). Xapaepo ocoeoc ec ae cceax ecox poeccopo, oeex pa cocoa ceapoay BC. p o ocyecec epexo o "eco" o yopoa execx cce yepcao "popao" oe. B cy oo ce oee aey po ax cceax, apy c aapa cpeca, pae cneuauupoaoe cceoe paoe npopaoe oecneeue (CO).

Ha aax papao poepoa, oa ca cox cce c co ye eco aapao-popax cpec ceo ex cac aaa aaa cea apao opaa cpyyp aapax cpec, a ae papao oa CO ooo oea. a aaa oe peea c oo aapaopopaoo oepoa c cooae yepcax oepyx oeco, ocpoex a ae oopox BC c popapyeo cpyypo.

Aapaopopaoe oepoae oo ca ac cyae oyaypoo oepoa.

Ha epo ae papaaaec oeyaa oe aaoo acca cce a ocoe aaa ox poecco, cpyyp aapax oo. oeyaa oe peayec a aapao-popax cpecax oepyeo oeca. p o oepy oec oe acpaac a cooecyy cpyypy cce popa ye a ce oooc popapoa cpyyp coyeo popoeccopo BC. ac aapax popax cpec popoeccopo BC oepyeo oeca eocpeceo opaae aapao-popae cpeca, xoe cceyey ccey (annapamoe oeupoaue), pya ac peaye aoy oe yoax cpec cceyeo cce, ee ocao, oex .. (npopaoe oeupoaue).

Papaoa aapao-popax oepyx oeco ec coo execo aae.

Hecop a o, peee ax oeco axo ce oee pacpocpaee. p ocaoo pooeoc cex cpec oeca poecc cceoa cce oe ecc peao acae pee. B cocae oeca oy cooac a yepcae poBM oeo aae, a cee cpeca, eocpeceo xoe cceyey ccey. ooe oepye oec c yepca cea papao oa aapaopopax cpec, poepyex cce aaoo acca. O oy cooac aece peaepo o oye ocyaeo epcoaa.

4 A OP T M A P O P AMMP OB AHE o e a o p a e o c o c a B ocoe pee o aa e oe aopa. o aopo po oa ooe pecae, opeeee ce poecc y o appyex aax ax cxooy peyay (OCT19.781-74 opeeee aopa). p cocae aopa ceye ya p peoa, oee oopx po oppoa eoxox coc.

1 Aop oe ooa, ca poooc ooa oo peca aaoo opa coe. o coco aopa aaec onpeeeocm.

2 Peaa ceoo poecca, peycopeoo aopo oa epe opeeeoe oeco ao pec a peyao cooe o eoooc pee aa. o coco aaec peymamuocm.

3 Peee oox aa c pa cxo a oo ocyec o ooy oy e aopy, o ae oooc ca oe popa, pee aa p pax apaax aa ae cxox ax. o coco aaec accoocm.

4 peopeee aopo ce poecc pace a oee a (eeape oepa). o coco aopa aaec ucpemocm.

C O C O O C A H A O P T M O B opae cpeca oca aopo oocc ceye coco x pecae:

1) coec ac a ececex ax;

2) cpyypo-coa ac a aopeco e ceooa;

3) paec opaee cxe paecx coo;

4) popa ec a e popapoa.

Cpyypo-coa coco ac aopo ocoa a opaoao pecae peca, aaaex ye cooa opaeoo aopa ox cacecx ocpy, pecaex ox papaoa coax. Tae cpeca oca aopa aco aa nceooau.

p a e c x c o o opae cpyyp aopa coy cooyoc ox coo oo coeex epea ypae. Tao eo aaec eoo o cxe. OCT-19.003-80- opa coo, OCT-19.002-80paa cocae aopo. Heoope co o-cxe pee a. 4.

4 Co o-cxe Haae coo Ooaee ocee o opao poecca (opeee poecc ceoe ece oceoaeoc cex ec) pooee a. Haae coo Ooaee ocee poepa yco Peee paee aope.

Haao a. Byp Moa oa acac apaep a, oopoo yaaec eo aaoe aee.

Bcee o peopeee opopae poecc caapa opopaa.

Bo-o oe Bo-o e.

Haao oe yc ocaoeo aopa.

oeap oeap, oce paoy aopa Ec aop e Coee yeaec a oo ce, o eo oo oe coee.

Pa o o c c p y y p a o p o oeca cpyypa oo aopa oe pecaea oae pex aox cpyyp. o:

ceoae, paeee . Xapaepo ocoeoc x cpyyp ec ae x ooo xoa ooo xoa.

1 aoa cmpymypa ceoau (pc. 6) oaae, o a oepaopa o oe oceoaeo.

Cooyoc aox cpyyp ceoa, ox cee oepa, aam ue ucume aopumo.

2 Cpyypa "ecu; mo; uae" (pc. 7). a cpyypa oeceae acoc o peyao poep yco, op ooo aepax ye pao aopa. a ye ee oey xoy e aco o oo, ao y ye pa.

PC. 6 CTPTPA "CEOBAHE" Pc Cpyypa ec o ae Aop, coca oopoo xo aoa cpyypa paee, aaec paemuc.

3 oopee (u) oeceae oopee ecy paoy oepaopo. Paa e paooc a: c peycoe (pc. 8); c ocycoe (pc. 9).

Oco x pae ec o, o oepaop ea a "oa" oc acoc o yco, a e "o" oepaop ea a oc xo pa e acoc o yco.

Aop, ee coe cocae aoy cpyypy, a aac uuecuu aopumau.

opaa a eoxo ypae oepaop, aae aaoo ae apaepa a, eee apaepa a, poepa yco ooa a.

xo poepa e yco a Teo a xo Pc. 8 c peycoe Pc. 9 c ocycoe "oa" "o" 5 POPAMMPOBAH BCOOO POBH EMEHT OB POPAMMPOBAH C A CA Turbo C++ (C) Turbo Pascal 7.0 (aca) oepa oy p popapoa. popa oo paac a oy, cocoe opopa.

eceau aac ae ecec ae e eca popaa. Bx co xo ae apeeppoae coa, ceae co, eaop, e, ca cpooe oca.

ece paec ey coo o eco paee.

emuuamop - o ea, oope coyc ooae o, oca, epeex, poeyp, y, oye, popa. eaop oe aac c y coa, oycac p co oepa. eaop oy e y y, oao, a oopa aca yy epe 63 coa, oopa C - 31 co. oop a C ee oooc paa poce aae y. ooy oa pocx aax y eaopax o ce popae oa oaoo. B acae coococae eaop yc co, o aa ac c oo y, a C coyec a oepa.

Hanpuep: my_program C MyProgram acae.

Cca a epeey pecae coo eaop epeeo c eco aaopa e x.

auuamop cya ee ae cc a epeey.

Hanpuep: eaop acca e aaopa ec cco a ec acc, Results. eaop acca c yaa eco ooaae ope ee acca, ao cyae epeey: Results[Current + 1].

BCAE, EC OMOHEHTO BETC AC OET, A HECOM MO HO AAT OOHAEHE O; B TOM CAE CCA HA EPEMEHH OHAAET OHPETHOE OE BHTP OHPETHO OMOHEHT MACCBA: RESULTS[CURRENT + 1].DATA.

Ec yaaea epeea acc, o oo oa ec ooae eeo oo acca.

Cmpoo C aca aac oceoaeoc x coo pacpeoo aopa ASCII, aey aocpo acae oe a C.

oemapue caec a oa poox coo aex {} (* *) acae, C /* */ // o oa cpo. oeap, oopo a opaec ypo coo ceye co $, eppepyec a pea aca.

C p y yp a p o p a Bae c o pe ocpoe popa a C acae ec p, coaco oopoy ce eoae oe o oca. Opae oey caoc oo oce oo, oa ao eo oe ocae, ooao aaee cpyypy. popa coepa a paea: epo coepc oee cex oeo, coyex popae, a cee ex, o oca e ee. Bopo pae coep oepaop, oope oca ec a peapeo oe oea, eoxo peaa aopo. B acae o pae oeec o epoo coo begin, aaaec coo end; C eco begin coyec opaac ypa coa {, a eco end apaac }. oce end acae o paee oaeo oa oa. B acae aooo e ec oae apyo popax cpec. Oao, peoeyec yaa popa. eaec o a. Program popa. BC aooo ocycye.

oop C oee o e peye ecoo opaa cpyyp popa. Ocae epeex oe cpeac o epe x ee, oao coe xopoeo c popapoa eaeo pepac "acaeco" cpyyp popa.

aa popaa, acaa a C oea e y main, a a ee paoa aaec eo c ee.

Moy o oa popaa ea oee coco ypo.

P O P AMMA HA C MOE T M E T CE CTP T P :

- ee coyex oex ao;

- ocae oax epeex y;

- ec y;

- ay y c ee void main (void), a e:

- ocae oax epeex;

- oepaop popa.

B caapo acae popa e ec opa:

program popa;

uses aee oy;

label e;

const oee oca;

type opeeee o ax;

var oee epeex;

procedure function;

begin eo popa, poeyp y;

end.

Hae cex oe label, const, type, var, procedure function popae eoaeo. Oao caapoo aca, ec o ec, opo x ceoa cpoo peaepoa, popae o o pcycoa oo o pa. a cee oe, cey poeyp y, oo ae eo popa.

Turbo Pascal 7.0 C++ oecea oee y cpyypy popa. Oao ceye ya, o ce eaop o .

Pages:     | 1 |   ...   | 2 | 3 || 5 | 6 |   ...   | 18 |






















2011 www.dissers.ru -

, .
, , , , 1-2 .