Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- int main(int argc, const char * argv[]) {
- if(argc < 2) { // ako imame samo input togas ova e 2, ako imame i input i output togas ova ke e 3
- return 0;
- }
- FILE *in = fopen(argv[1], "r"); // za input
- FILE *out = fopen(argv[2], "w"); // za output
- return 0;
- }
- /**
- 7
- 7 2 15 0 3 13 5
- */
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement