ГОСТ Р ИСО/МЭК 10373-6—2015
to
_
rree-U rst;
flrat-first.->Si.g;
fre e (to
_
fгее);
i
I
П
Creates a
: :
m
e
node with
the
given volt
and time
parameters ve.d createtime
<TIMES
«new,
douDle tr, double t.l, double b, double bVHBR, double ttatartind, double txendind, double
tfstartind, double tfendind, double tl, double tlstarllnd, double tlatart, double tlenoino,
douDle t2, double t2startind, double t2si.art, double t3, douDle t3end, double t3endind,
double t4, double
tlenaina,
double tb, double t.bstattind, douole to, double tfcend, double
tbendlnd, double a, douDle tploane)
(Измененная редакция. Изм. A4:2012.)
I
new->t£»t£;
new->lf-tr;
new->b-b;
new->bVHBR-bVHBR;
(Введено дополнительно. Изм. A4:2012.)
new->trstartma-trstartmd;
new->trendind-trendind;
new->trsiartind-tlstar tmd;
new->ttendmd-tfendmd;
new->tl-tl;
new->tlstartmd-
11
startmd;
new->tlstart-tlstart;
new->tlendmd-tlendmd;
new->t2-t2;
new->t2startmd»t
2
startmd;
new->t2start-t2start;
new->ti-t3;
new->t3end-tlend;
new->t3endind-t lendmd;
new->t4-t4;
new->t4endmd-t4endind;
new->tS»t5;
new->t53tartind-tSsldrt md;
new->t6-t6;
new->tfeend-tfeend;
new->t6endmrt-t6endmd;
new->a-a;
new->tploone-tploone;
\
Inserts a ESI. node (new) In a list pointed by "first"
void insert_HOde(ESL *«first, E5L *Пем)
Г
ESL «p-NL’LL;
ESL «previOUS-NULL;
i£ (new.’-NULL)
(
p—«first;
■.t
(p -N U ll)
i
\
«first-r.ew;
else
<
while (p!—NULL)
I
previous-p;
63