29 lines
367 B
C
29 lines
367 B
C
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <ncurses.h>
|
|
|
|
#include "../include/logic.h"
|
|
#include "../include/globals.h"
|
|
|
|
FILE *products;
|
|
|
|
int exists(const char *fname) {
|
|
FILE *file;
|
|
if ((file = fopen(fname, "r")))
|
|
{
|
|
fclose(file);
|
|
return 1;
|
|
}
|
|
return 0;
|
|
}
|
|
|
|
void changeFile(){
|
|
|
|
}
|
|
|
|
int getCount(){
|
|
|
|
return 0;
|
|
}
|