for_uint/for_uint.c added
This commit is contained in:
parent
b4d87c4abf
commit
a49e3ca779
|
@ -0,0 +1,19 @@
|
|||
#include <stdio.h>
|
||||
#include <stdint.h>
|
||||
|
||||
int
|
||||
main (void)
|
||||
{
|
||||
uint8_t a = 0,
|
||||
b = 255,
|
||||
c;
|
||||
|
||||
c = a;
|
||||
do
|
||||
{
|
||||
printf ("%d,", c);
|
||||
}
|
||||
while (c++ != b);
|
||||
|
||||
return 0;
|
||||
}
|
Loading…
Reference in New Issue