Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <string.h>
- #include <stdlib.h>
- int main(int argc, char **argv)
- {
- if (argc != 4)
- {
- exit(1);
- }
- ///argv program klucz wejscie wyjscie
- FILE *wejscie;
- FILE *wyjscie;
- if (wejscie = fopen(argv[2],"r")==NULL)
- {
- exit(2);
- }
- else
- {
- printf("%s","hurra");
- }
- return(0);
- }
Add Comment
Please, Sign In to add comment