Why won't this usage of const work? If I compile it as c++ is works. I'm using Borland C++ 4.5.
Code:#include <stdio.h> #include <conio.h> const char K_ESC = 0x1B; int main() { char c; c = getch(); switch(c) { case K_ESC : printf("You have escaped!"); break; } getch(); }