Wpis z mikrobloga

#naukaprogramowania #programowanie #cpp
Jaki jest tag dla zwykłego c? :O

Czy mógłby mi ktoś wyjaśnić jak pozbyć się tego problemu?

#ifndef F-PROTOP_H_INCLUDED
#define F-PROTOP_H_INCLUDED

#define ROZMIAR 10000; // maks rozmiar sortowanych danych
extern int n; //rozmiar tablicy

//WEJSCIE I WYJSCIE
extern void output_data(int B[]);
extern void input_and_check_data(void);

//PROCEDURY ALGORYTMU
extern int * C_K_E(int A[],int n,int m); //POLICZ KLUCZE ROWNE
extern int * C_K_L(int rowne[],int m); //POLICZ-KLUCZE-MNIEJSZE
extern int * Reorg(int A[],int mniejsze[],int n,int m); //REORGANIZUJ
extern int * C_S(int A[],int n,int m); //SORTOWANIE-PRZEZ-ZLICZANIE
#endif // F-PROTOP_H_INCLUDED

kopia\f-protop.h|1|error: extra tokens at end of #ifndef directive [-Werror]|

kopia\f-protop.h|2|error: ISO C99 requires whitespace after the macro name
  • 5