Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include "decode.c"
- void main() {
- int idx = 0;
- int *nums;
- char buf[4096];
- printf("#: ");
- scanf("%s", buf);
- nums = decode(buf);
- while (++idx <= nums[0]) {
- printf("num %i: %i\n", idx, nums[idx]);
- }
- free(nums);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement