GIT.Harvie.CZ
/
svn
/
Cll1h
/
.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
order_by_int renamed to order_by_num + some experiments with lists
[svn/Cll1h/.git]
/
demos
/
lists
/
float-list-ordered.c
1
#include
"cll1.h"
2
3
def_mem
(
Node
)
4
{
5
float
f
;
6
list
(
Node
);
7
};
8
9
program
10
{
11
Node one
,
all
=
NULL
;
12
13
repeat
(
20
)
14
{
15
one
=
get_mem
(
Node
);
16
printf
(
"Enter float:
\n
"
);
17
scanf
(
"%f"
, &(
one
->
f
));
18
insert
(
one
,
all
,
order_by_num
,
f
);
19
}
20
21
for_each
(
one
,
all
)
22
{
23
printf
(
"The float you entered is %f
\n
"
,
one
->
f
);
24
}
25
}
This page took
0.36266 seconds
and
5
git commands to generate.