Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- #include <stdlib.h>
- #include "listaVisite.h"
- int main(int argc, char* argv[]) {
- FILE* f;
- Sito s;
- Lista l;
- nuovaLista(&l);
- if (argc != 2) {
- printf("Errore apertura ./cronologia visite.dat");
- exit(-1);
- }
- if ((f = fopen(argv[1], "rb")) == NULL) {
- printf("Errore apertura file binario \n");
- exit(-2);
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement