Compiler Error C2153
hex constants must have at least one hex digit
Hexadecimal constants 0x, 0X, and \x are not valid. At least one hex digit must follow x or X.
The following sample generates C2153:
// C2153.cpp
int main() {
int a= 0x; // C2153
int b= 0xA; // OK
}
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for