+#include <stdlib.h>
+#include "general.h"
#include "config.h"
unsigned long int money = 0;
unsigned long int num_items = 0;
unsigned long int items_sold = 0;
#include "config.h"
unsigned long int money = 0;
unsigned long int num_items = 0;
unsigned long int items_sold = 0;
+struct status_t status[MAX_ITEMS+1];
void load_config();
void load_items(){
void load_config();
void load_items(){
num_items=3;
status[0].item_name = "cola";
status[0].price = 230;
num_items=3;
status[0].item_name = "cola";
status[0].price = 230;
-static struct status_t status[MAX_ITEMS+1];
+extern struct status_t* status;
// unklar bis jetzt was das tun wird
void load_config();
// unklar bis jetzt was das tun wird
void load_config();
--- /dev/null
+#ifndef GENERAL_H_
+#define GENERAL_H_
+#define uc unsigned char
+#define NULL 0
+#endif /*GENERAL_H_*/
#include <conio.h>
#include <stdlib.h>
#include <conio.h>
#include <stdlib.h>
#include "config.h"
#include "kasse.h"
// conf
#include "config.h"
#include "kasse.h"
// conf
-#define uc unsigned char