i can not write cpp instruction in my header files like usual CPP ide (visual cpp) does keil support class definition just in X.cpp file ?
as you know in c++ ,ability to use classes and objects is basic differences from borland or other type of c .
Hmmm... the last compiler by Borland that didn't do C++ happened about 20 years ago...
by "does header file support C++ instruction" it is clear that header file support c code
Nothing even remotely like that can possibly be clear from that phrase.
used just as declaration seems is not supported in header by keil
And you're sure you didn't promise the Keil tools in any way, shape or form that you were only going to write C code in there? E.g. by only buying a C compiler instead of a C++ one, or by calling your proper source files foo.c instead of foo.cpp?