docs
[mirrors/Programs.git] / c / bpole / bpole.c
CommitLineData
21c4e167
H
1#include <stdio.h>
2
3//deklarace bitového pole
4struct *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;
15char byt;
16
17int 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.186212 seconds and 4 git commands to generate.