This commit is contained in:
admin committed 2025-10-31 14:34:27 +01:00
1 parent 07c7235831
commit 2f3ef9736c
8 files changed
+17 -16

No files matched your search

BIN
View File
Binary file not shown.
BIN
View File
Binary file not shown.
+3 -2
View File
@@ -6,10 +6,11 @@
#include <string.h>
#include <ncurses.h>
// TODO: QUI CI VA LA STRUCT DATI
struct product {
char
};
int getCount();
void changeFile();
int exists(const char *fname);
#endif
BIN
View File
Binary file not shown.
+1 -1
View File
@@ -1,4 +1,4 @@
#include "../include/globals.h"
char productPricesFileLocation[64]="./productPricesSettings.fpm";
char countFileLocation[64]="./count.fpm"
char countFileLocation[64]="./count.fpm";
-4
View File
@@ -18,10 +18,6 @@ int exists(const char *fname) {
return 0;
}
void changeFile(){
}
int getCount(){
return 0;
+12 -9
View File
@@ -1,14 +1,17 @@
/*
* [Guida NCURSES](https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/intro.html)
* Product Manager
*
* Controllare se file esiste
* Listare prodotti con prezzo da file
* Aggiungere prodotto con prezzo a file
* Listare copie vendute di prodotto da file
* Aggiungere copie venduto di prodotto a file
* Cambiare nome dei file con interagisce
* Calcolare la somma delle entrate dati i file
* ### Product Manager
* Questo codice è molto probabilmente NON sicuro.
*
* [Guida NCURSES](https://tldp.org/HOWTO/NCURSES-Programming-HOWTO/intro.html)
*
* TODO: Controllare se file esiste
* TODO: Listare prodotti con prezzo da file
* TODO: Aggiungere prodotto con prezzo a file
* TODO: Listare copie vendute di prodotto da file
* TODO: Aggiungere copie venduto di prodotto a file
* TODO: Cambiare nome dei file con interagisce
* TODO: Calcolare la somma delle entrate dati i file
*/
#include <stdio.h>
+1
View File
@@ -3,5 +3,6 @@
int main(){
printf("%s", productPricesFileLocation);
return 0;
}