Compiler Error C2008
'character' : unexpected in macro definition
The character appears immediately following the macro name. To resolve the error, there must be a space after the macro name.
The following sample generates C2008:
// C2008.cpp
#define TEST1"mytest1" // C2008
Possible resolution:
// C2008b.cpp
// compile with: /c
#define TEST2 "mytest2"
Pripomienky
https://aka.ms/ContentUserFeedback.
Pripravujeme: V priebehu roka 2024 postupne zrušíme službu Problémy v službe GitHub ako mechanizmus pripomienok týkajúcich sa obsahu a nahradíme ju novým systémom pripomienok. Ďalšie informácie nájdete na stránke:Odoslať a zobraziť pripomienky pre