20 lines
272 B
C
20 lines
272 B
C
#ifndef LOGIC_H
|
|
#define LOGIC_H
|
|
|
|
#include <stdio.h>
|
|
#include <stdlib.h>
|
|
#include <string.h>
|
|
#include <ncurses.h>
|
|
|
|
struct product {
|
|
float cost;
|
|
int numberSold;
|
|
char name;
|
|
};
|
|
|
|
int getCount();
|
|
int existsFile(const char *fname);
|
|
void createFile(const char *fname);
|
|
|
|
#endif
|