This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

does header file support C++ instruction

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 ?

Parents
  • as you know in c++ ,ability to use classes and objects is basic differences from borland or other type of c . by "does header file support C++ instruction" it is clear that header file support c code (we can write c code in header file in all of compilers ) but C++ code like "class {}" , "public:" , ... used just as declaration seems is not supported in header by keil

Reply
  • as you know in c++ ,ability to use classes and objects is basic differences from borland or other type of c . by "does header file support C++ instruction" it is clear that header file support c code (we can write c code in header file in all of compilers ) but C++ code like "class {}" , "public:" , ... used just as declaration seems is not supported in header by keil

Children