14-10-25
This commit is contained in:
1 parent
07c7235831
commit
2f3ef9736c
8 files changed
+17
-16
No files matched your search
Binary file not shown.
Binary file not shown.
+3
-2
@@ -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
|
||||
Binary file not shown.
+1
-1
@@ -1,4 +1,4 @@
|
||||
#include "../include/globals.h"
|
||||
|
||||
char productPricesFileLocation[64]="./productPricesSettings.fpm";
|
||||
char countFileLocation[64]="./count.fpm"
|
||||
char countFileLocation[64]="./count.fpm";
|
||||
@@ -18,10 +18,6 @@ int exists(const char *fname) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
void changeFile(){
|
||||
|
||||
}
|
||||
|
||||
int getCount(){
|
||||
|
||||
return 0;
|
||||
|
||||
+12
-9
@@ -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>
|
||||
|
||||
@@ -3,5 +3,6 @@
|
||||
|
||||
int main(){
|
||||
printf("%s", productPricesFileLocation);
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user