mirror of
https://github.moeyy.xyz/https://github.com/TheAlgorithms/C.git
synced 2023-10-11 15:56:24 +08:00
added stdint.h for fixed width ints
This commit is contained in:
parent
6a09ade47d
commit
860b1fd501
@ -1,5 +1,6 @@
|
|||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
|
#include <stdint.h>
|
||||||
#include <string.h> /* for memmove */
|
#include <string.h> /* for memmove */
|
||||||
|
|
||||||
int main(int argc, char *argv[])
|
int main(int argc, char *argv[])
|
||||||
@ -48,7 +49,8 @@ int main(int argc, char* argv[])
|
|||||||
{
|
{
|
||||||
num_bad_chars++; /* this is used to get the bad characters in the sequence of 13 characters */
|
num_bad_chars++; /* this is used to get the bad characters in the sequence of 13 characters */
|
||||||
continue;
|
continue;
|
||||||
} else if (num_bad_chars > 0)
|
}
|
||||||
|
else if (num_bad_chars > 0)
|
||||||
num_bad_chars--;
|
num_bad_chars--;
|
||||||
|
|
||||||
num = ch - 0x30; /* convert character digit to number */
|
num = ch - 0x30; /* convert character digit to number */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user