GIT.Harvie.CZ
/
mirrors
/
Programs.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Klog timestampy
[mirrors/Programs.git]
/
c
/
bpole
/
bpole.c
1
#include <stdio.h>
2
3
//deklarace bitového pole
4
struct
*
bits
{
5
unsigned int
a
:
1
;
6
unsigned int
b
:
1
;
7
unsigned int
c
:
1
;
8
unsigned int
d
:
1
;
9
unsigned int
e
:
1
;
10
unsigned int
f
:
1
;
11
unsigned int
g
:
1
;
12
unsigned int
h
:
1
;
13
};
14
//struct lol *bits;
15
char
byt
;
16
17
int
main
(){
18
while
(
1
){
19
byt
=
getchar
();
20
bits
= &
byt
;
21
printf
(
"%d:%d:%d:%d:%d:%d:%d:%d
\n
"
,
bits
->
a
,
bits
->
b
,
bits
->
c
,
bits
->
d
,
bits
->
e
,
bits
->
f
,
bits
->
g
,
bits
->
h
);
22
}
23
}
This page took
0.909096 seconds
and
4
git commands to generate.