extern na BYTE a[]
2 отговора
138 прегледа
extern na BYTE a[]
Zdrawejte,
Da dopusnem, che imame slednoto v edin CPP file:
CONST BYTE a[] = { 0x00, 0xA4, 0x00, 0x00 };
kak tazi stoinost da se naprawi extern w daden header?
naprimer "extern a[];" niama da mine
Da dopusnem, che imame slednoto v edin CPP file:
CONST BYTE a[] = { 0x00, 0xA4, 0x00, 0x00 };
kak tazi stoinost da se naprawi extern w daden header?
naprimer "extern a[];" niama da mine
Re: extern na BYTE a[]
cpp file:
const byte a[] = { 0x00, 0xA4, 0x00, 0x00 };
h file:
extern const byte a[];
компилира си се без грешка :)
Поне със CBuilder 5.0
Bеer? Moooorrre?
const byte a[] = { 0x00, 0xA4, 0x00, 0x00 };
h file:
extern const byte a[];
компилира си се без грешка :)
Поне със CBuilder 5.0
Bеer? Moooorrre?
Re: extern na BYTE a[]
Пробвай това:
--------------------------
cpp file
extern const BYTE a[] = {1, 2, 3};
--------------------------
h file
extern const BYTE a[];
--------------------------
cpp file
extern const BYTE a[] = {1, 2, 3};
--------------------------
h file
extern const BYTE a[];