repo.or.cz
/
tinycc.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
remove a compilation warnings for libtest and test3
[tinycc.git]
/
tests
/
tests2
/
49_bracket_evaluation.c
blob
0cbe57d625a8977e15cb4a1ea2830b5a87d2b265
1
#include <stdio.h>
2
3
struct
point
4
{
5
double
x
;
6
double
y
;
7
};
8
9
struct
point point_array
[
100
];
10
11
int
main
()
12
{
13
int
my_point
=
10
;
14
15
point_array
[
my_point
].
x
=
12.34
;
16
point_array
[
my_point
].
y
=
56.78
;
17
18
printf
(
"%f, %f
\n
"
,
point_array
[
my_point
].
x
,
point_array
[
my_point
].
y
);
19
20
return
0
;
21
}
22
23
/* vim: set expandtab ts=4 sw=3 sts=3 tw=80 :*/