I have a program where I get the error:
variable modified 'artikel'at file scope
char artikel[ARTNAME];
I think I have to add a #define, but I don't understand exactly which one.
Here is my Code:
#include <stdio.h>
#include <string.h>
const int ARTNAME = 100;
typedef struct artikel {
char artikel[ARTNAME];
int anzahl;
} artikel;
int main()
{
}